Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001741/0.001741, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00164/0.00164, allocations: 213.8 kB / 22.25 MB, free: 4.855 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.448/1.448, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.759/2.759, allocations: 476 MB / 0.7699 GB, free: 4.723 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_11_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.002119/0.002119, allocations: 70.78 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3076, allocations: 170 MB / 1.283 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01796/0.3255, allocations: 13.3 MB / 1.296 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01499/0.3405, allocations: 9.147 MB / 1.304 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001344/0.3418, allocations: 83.25 kB / 1.305 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004663/0.3465, allocations: 1.668 MB / 1.306 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004772/0.3513, allocations: 1.589 MB / 1.308 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00207/0.3533, allocations: 0.7523 MB / 1.308 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003593/0.3569, allocations: 2.528 MB / 1.311 GB, free: 15.29 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001714/0.3587, allocations: 1.176 MB / 1.312 GB, free: 14.09 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001827/0.3605, allocations: 1.211 MB / 1.313 GB, free: 12.87 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001554/0.362, allocations: 1.066 MB / 1.314 GB, free: 11.8 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002481/0.3623, allocations: 160 kB / 1.314 GB, free: 11.64 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001494/0.3638, allocations: 0.7213 MB / 1.315 GB, free: 10.92 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006238/0.3644, allocations: 0.6192 MB / 1.316 GB, free: 10.3 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0008473/0.3652, allocations: 0.7621 MB / 1.317 GB, free: 9.535 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003173/0.3684, allocations: 2.755 MB / 1.319 GB, free: 6.77 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3684, allocations: 0 / 1.319 GB, free: 6.77 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3684, allocations: 0 / 1.319 GB, free: 6.77 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.967e-05/0.3685, allocations: 4 kB / 1.319 GB, free: 6.766 MB / 1.014 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.00417/0.3726, allocations: 2.112 MB / 1.321 GB, free: 4.613 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.3727, allocations: 8.031 kB / 1.321 GB, free: 4.605 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002568/0.3729, allocations: 194.4 kB / 1.321 GB, free: 4.406 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01179/0.3847, allocations: 2.086 MB / 1.324 GB, free: 2.316 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003091/0.3878, allocations: 1.177 MB / 1.325 GB, free: 1.09 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.572e-05/0.3879, allocations: 90.73 kB / 1.325 GB, free: 1 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002981/0.3882, allocations: 131.8 kB / 1.325 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006278/0.3945, allocations: 2.889 MB / 1.328 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.956e-05/0.3945, allocations: 3.938 kB / 1.328 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001653/0.3947, allocations: 55.98 kB / 1.328 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006762/0.3954, allocations: 178.1 kB / 1.328 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008038/0.4034, allocations: 2.795 MB / 1.331 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01514/0.4185, allocations: 8.345 MB / 1.339 GB, free: 2.223 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007163/0.4257, allocations: 2.217 MB / 1.341 GB, free: 0 / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0034/0.4291, allocations: 1.202 MB / 1.342 GB, free: 14.79 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.507e-05/0.4292, allocations: 13 kB / 1.342 GB, free: 14.78 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.833e-05/0.4292, allocations: 43.56 kB / 1.342 GB, free: 14.73 MB / 1.045 GB Notification: Performance of pre-optimization done (n=89): time 2.514e-06/0.4292, allocations: 4 kB / 1.342 GB, free: 14.73 MB / 1.045 GB Notification: Performance of matching and sorting (n=131): time 0.04917/0.4784, allocations: 12.66 MB / 1.355 GB, free: 2.012 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.4784, allocations: 68.72 kB / 1.355 GB, free: 1.934 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001647/0.4801, allocations: 1.129 MB / 1.356 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001809/0.4803, allocations: 45.7 kB / 1.356 GB, free: 0.7383 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006237/0.4809, allocations: 0.7326 MB / 1.356 GB, free: 0 / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005136/0.4814, allocations: 468.1 kB / 1.357 GB, free: 15.54 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005205/0.4819, allocations: 263.5 kB / 1.357 GB, free: 15.27 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.4821, allocations: 365.9 kB / 1.358 GB, free: 14.91 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003585/0.4857, allocations: 1.346 MB / 1.359 GB, free: 13.56 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003827/0.4895, allocations: 1.596 MB / 1.36 GB, free: 11.86 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007608/0.4971, allocations: 2.994 MB / 1.363 GB, free: 8.773 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.4971, allocations: 0 / 1.363 GB, free: 8.773 MB / 1.061 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01237/0.5095, allocations: 4.404 MB / 1.368 GB, free: 4.316 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.863e-05/0.5095, allocations: 8 kB / 1.368 GB, free: 4.309 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/0.5096, allocations: 8 kB / 1.368 GB, free: 4.301 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005543/0.5151, allocations: 1.439 MB / 1.369 GB, free: 2.82 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002191/0.5173, allocations: 439.2 kB / 1.369 GB, free: 2.391 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02978/0.5471, allocations: 25.09 MB / 1.394 GB, free: 7.812 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002632/0.5497, allocations: 303.5 kB / 1.394 GB, free: 7.516 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001702/0.5499, allocations: 63.95 kB / 1.394 GB, free: 7.453 MB / 1.092 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.0008189/0.5507, allocations: 438 kB / 1.395 GB, free: 7.016 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003181/0.551, allocations: 171 kB / 1.395 GB, free: 6.848 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01222/0.5632, allocations: 4.406 MB / 1.399 GB, free: 2.387 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/0.5632, allocations: 12 kB / 1.399 GB, free: 2.375 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.086e-05/0.5633, allocations: 12 kB / 1.399 GB, free: 2.363 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.343e-05/0.5633, allocations: 11.97 kB / 1.399 GB, free: 2.352 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01667/0.58, allocations: 6.3 MB / 1.405 GB, free: 11.92 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/0.58, allocations: 4 kB / 1.405 GB, free: 11.92 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001919/0.5819, allocations: 383.6 kB / 1.406 GB, free: 11.54 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004885/0.5868, allocations: 1.303 MB / 1.407 GB, free: 10.2 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001311/0.5869, allocations: 39.95 kB / 1.407 GB, free: 10.16 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02788/0.6148, allocations: 23.97 MB / 1.43 GB, free: 0.6914 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.6148, allocations: 0 / 1.43 GB, free: 0.6914 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01151/0.6263, allocations: 4.164 MB / 1.435 GB, free: 12.43 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001263/0.6276, allocations: 386.7 kB / 1.435 GB, free: 12.05 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002432/0.6278, allocations: 27.98 kB / 1.435 GB, free: 12.02 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002146/0.63, allocations: 303.5 kB / 1.435 GB, free: 11.73 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004174/0.6304, allocations: 136.6 kB / 1.435 GB, free: 11.59 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/0.6305, allocations: 51.97 kB / 1.435 GB, free: 11.54 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001086/0.6316, allocations: 0.7487 MB / 1.436 GB, free: 10.79 MB / 1.139 GB Notification: Performance of sort global known variables: time 6e-08/0.6316, allocations: 0 / 1.436 GB, free: 10.79 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001867/0.6335, allocations: 0.5664 MB / 1.437 GB, free: 10.23 MB / 1.139 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.01169/0.6452, allocations: 4.763 MB / 1.441 GB, free: 5.359 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.01178/0.6569, allocations: 4.966 MB / 1.446 GB, free: 224 kB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/0.6569, allocations: 4.125 kB / 1.446 GB, free: 220 kB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.007345/0.6643, allocations: 3.417 MB / 1.45 GB, free: 12.62 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002449/0.6667, allocations: 0.5619 MB / 1.45 GB, free: 12.08 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04369/0.7104, allocations: 19.34 MB / 1.469 GB, free: 8.297 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/0.7116, allocations: 0.8873 MB / 1.47 GB, free: 7.375 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001539/0.7131, allocations: 433.6 kB / 1.47 GB, free: 6.945 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009527/0.7141, allocations: 0.632 MB / 1.471 GB, free: 6.312 MB / 1.17 GB Notification: Performance of SimCode: time 8.62e-07/0.7141, allocations: 0 / 1.471 GB, free: 6.312 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1362/0.8502, allocations: 56.39 MB / 1.526 GB, free: 14.88 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.36/14.22, allocations: 11.59 kB / 1.526 GB, free: 14.88 MB / 1.232 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 20.876360000111163]