Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 212.7 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.495/1.495, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.343/3.343, allocations: 0.4892 GB / 0.7943 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 67.69 kB / 1.153 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3294, allocations: 176.1 MB / 1.325 GB, free: 2.41 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.02087/0.3502, allocations: 13.3 MB / 1.338 GB, free: 5.062 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01601/0.3663, allocations: 9.155 MB / 1.347 GB, free: 11.88 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001453/0.3677, allocations: 83.25 kB / 1.347 GB, free: 11.8 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004947/0.3727, allocations: 1.673 MB / 1.349 GB, free: 10.12 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.006085/0.3787, allocations: 1.587 MB / 1.35 GB, free: 8.535 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002354/0.3811, allocations: 0.7597 MB / 1.351 GB, free: 7.777 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004987/0.3861, allocations: 2.524 MB / 1.353 GB, free: 5.242 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002696/0.3888, allocations: 1.18 MB / 1.355 GB, free: 4.02 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002732/0.3915, allocations: 1.207 MB / 1.356 GB, free: 2.809 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002169/0.3937, allocations: 1.054 MB / 1.357 GB, free: 1.75 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0005081/0.3942, allocations: 164 kB / 1.357 GB, free: 1.59 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001811/0.396, allocations: 0.7213 MB / 1.358 GB, free: 0.8672 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0009038/0.3969, allocations: 0.6269 MB / 1.358 GB, free: 244 kB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.00156/0.3985, allocations: 0.7543 MB / 1.359 GB, free: 15.48 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00391/0.4024, allocations: 2.755 MB / 1.362 GB, free: 12.71 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.4024, allocations: 0 / 1.362 GB, free: 12.71 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.365e-06/0.4024, allocations: 4 kB / 1.362 GB, free: 12.71 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.086e-05/0.4025, allocations: 3.984 kB / 1.362 GB, free: 12.71 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004574/0.407, allocations: 2.104 MB / 1.364 GB, free: 10.56 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.4071, allocations: 8.031 kB / 1.364 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002708/0.4074, allocations: 194.4 kB / 1.364 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01146/0.4188, allocations: 2.09 MB / 1.366 GB, free: 8.262 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003071/0.4219, allocations: 1.18 MB / 1.367 GB, free: 7.031 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.422, allocations: 90.73 kB / 1.367 GB, free: 6.941 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002879/0.4223, allocations: 123.9 kB / 1.367 GB, free: 6.82 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006417/0.4287, allocations: 2.901 MB / 1.37 GB, free: 3.723 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.278e-05/0.4287, allocations: 3.938 kB / 1.37 GB, free: 3.719 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001721/0.4289, allocations: 55.98 kB / 1.37 GB, free: 3.664 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00071/0.4296, allocations: 178.1 kB / 1.37 GB, free: 3.488 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008134/0.4378, allocations: 2.795 MB / 1.373 GB, free: 0.6836 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01552/0.4533, allocations: 8.325 MB / 1.381 GB, free: 8.184 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006987/0.4603, allocations: 2.224 MB / 1.383 GB, free: 5.953 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003294/0.4636, allocations: 1.207 MB / 1.385 GB, free: 4.746 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.677e-05/0.4636, allocations: 9 kB / 1.385 GB, free: 4.734 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.181e-05/0.4637, allocations: 51.55 kB / 1.385 GB, free: 4.676 MB / 1.076 GB Notification: Performance of pre-optimization done (n=89): time 3.567e-06/0.4637, allocations: 4 kB / 1.385 GB, free: 4.672 MB / 1.076 GB Notification: Performance of matching and sorting (n=131): time 0.04881/0.5125, allocations: 12.67 MB / 1.397 GB, free: 7.953 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.002e-05/0.5126, allocations: 68.72 kB / 1.397 GB, free: 7.875 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001753/0.5143, allocations: 1.129 MB / 1.398 GB, free: 6.73 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002033/0.5145, allocations: 45.7 kB / 1.398 GB, free: 6.68 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006569/0.5152, allocations: 0.7364 MB / 1.399 GB, free: 5.938 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005277/0.5157, allocations: 464 kB / 1.399 GB, free: 5.48 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005456/0.5162, allocations: 263.5 kB / 1.4 GB, free: 5.215 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001917/0.5164, allocations: 361.9 kB / 1.4 GB, free: 4.855 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003575/0.52, allocations: 1.343 MB / 1.401 GB, free: 3.512 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003745/0.5238, allocations: 1.6 MB / 1.403 GB, free: 1.812 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007485/0.5312, allocations: 2.991 MB / 1.406 GB, free: 14.73 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.5312, allocations: 0 / 1.406 GB, free: 14.73 MB / 1.107 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01231/0.5436, allocations: 4.408 MB / 1.41 GB, free: 10.27 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.219e-05/0.5436, allocations: 10.19 kB / 1.41 GB, free: 10.26 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/0.5436, allocations: 8 kB / 1.41 GB, free: 10.25 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005598/0.5492, allocations: 1.432 MB / 1.412 GB, free: 8.777 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002177/0.5514, allocations: 443.2 kB / 1.412 GB, free: 8.344 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03052/0.5819, allocations: 25.11 MB / 1.437 GB, free: 13.74 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002694/0.5846, allocations: 303.5 kB / 1.437 GB, free: 13.44 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002027/0.5848, allocations: 63.95 kB / 1.437 GB, free: 13.38 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008957/0.5857, allocations: 433.5 kB / 1.437 GB, free: 12.95 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003403/0.586, allocations: 178.9 kB / 1.437 GB, free: 12.77 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01233/0.5984, allocations: 4.406 MB / 1.442 GB, free: 8.312 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.089e-05/0.5984, allocations: 12 kB / 1.442 GB, free: 8.301 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.506e-05/0.5984, allocations: 12 kB / 1.442 GB, free: 8.289 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.346e-05/0.5984, allocations: 11.97 kB / 1.442 GB, free: 8.277 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0168/0.6152, allocations: 6.288 MB / 1.448 GB, free: 1.855 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.6152, allocations: 4 kB / 1.448 GB, free: 1.852 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001899/0.6171, allocations: 383.6 kB / 1.448 GB, free: 1.477 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005064/0.6222, allocations: 1.31 MB / 1.45 GB, free: 128 kB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001643/0.6224, allocations: 35.97 kB / 1.45 GB, free: 92 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02888/0.6513, allocations: 23.97 MB / 1.473 GB, free: 6.625 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.6513, allocations: 0 / 1.473 GB, free: 6.625 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01167/0.6629, allocations: 4.164 MB / 1.477 GB, free: 2.367 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001464/0.6644, allocations: 394.7 kB / 1.477 GB, free: 1.98 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000297/0.6647, allocations: 24 kB / 1.477 GB, free: 1.957 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002113/0.6668, allocations: 303.5 kB / 1.478 GB, free: 1.66 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004492/0.6673, allocations: 136.6 kB / 1.478 GB, free: 1.523 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001309/0.6674, allocations: 51.97 kB / 1.478 GB, free: 1.473 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001144/0.6685, allocations: 0.7525 MB / 1.479 GB, free: 0.7188 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6685, allocations: 3.938 kB / 1.479 GB, free: 0.7148 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002005/0.6705, allocations: 0.5708 MB / 1.479 GB, free: 148 kB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01181/0.6823, allocations: 4.751 MB / 1.484 GB, free: 11.29 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01192/0.6943, allocations: 4.97 MB / 1.489 GB, free: 6.148 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/0.6943, allocations: 3.938 kB / 1.489 GB, free: 6.145 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.007437/0.7017, allocations: 3.413 MB / 1.492 GB, free: 2.559 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002507/0.7042, allocations: 0.5559 MB / 1.493 GB, free: 2.023 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04449/0.7487, allocations: 19.35 MB / 1.512 GB, free: 14.23 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001235/0.7499, allocations: 0.8873 MB / 1.512 GB, free: 13.3 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001668/0.7516, allocations: 425.6 kB / 1.513 GB, free: 12.88 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001024/0.7526, allocations: 0.6281 MB / 1.513 GB, free: 12.25 MB / 1.217 GB Notification: Performance of SimCode: time 1.773e-06/0.7526, allocations: 0 / 1.513 GB, free: 12.25 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1613/0.914, allocations: 56.41 MB / 1.568 GB, free: 4.809 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/14.38, allocations: 0 / 1.568 GB, free: 4.809 MB / 1.264 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.396765921730548]