Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.0008269/0.0008269, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001094/0.001921, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007517/0.0007517, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001015/0.001767, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9253/0.9253, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09803/1.023, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.357/2.357, allocations: 446.7 MB / 0.6745 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2517/2.609, allocations: 145.9 MB / 0.817 GB, free: 4.23 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.8183 GB, free: 2.926 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.161e-05/1.304e-05, allocations: 6.312 kB / 0.8183 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.00673/0.006743, allocations: 4.968 MB / 0.8231 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003426/0.01017, allocations: 1.785 MB / 0.8249 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003844/0.01055, allocations: 39.62 kB / 0.8249 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.000619/0.01117, allocations: 230.4 kB / 0.8251 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0009108/0.01208, allocations: 0.5084 MB / 0.8256 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008765/0.01296, allocations: 399.1 kB / 0.826 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0015/0.01446, allocations: 1.36 MB / 0.8274 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007905/0.01525, allocations: 0.5315 MB / 0.8279 GB, free: 9.051 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00136/0.01661, allocations: 0.7488 MB / 0.8286 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008522/0.01746, allocations: 0.5298 MB / 0.8291 GB, free: 7.77 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.01758, allocations: 68 kB / 0.8292 GB, free: 7.703 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000322/0.0179, allocations: 139.8 kB / 0.8293 GB, free: 7.566 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.000292/0.01819, allocations: 303.1 kB / 0.8296 GB, free: 7.27 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0003409/0.01853, allocations: 259.5 kB / 0.8299 GB, free: 7.016 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000862/0.0194, allocations: 0.6812 MB / 0.8305 GB, free: 6.332 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.985e-05/0.01941, allocations: 3.938 kB / 0.8305 GB, free: 6.328 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.32e-07/0.01942, allocations: 0 / 0.8305 GB, free: 6.328 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.009e-05/0.01945, allocations: 0 / 0.8305 GB, free: 6.328 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001855/0.0213, allocations: 1.231 MB / 0.8317 GB, free: 5.07 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.02134, allocations: 8.625 kB / 0.8317 GB, free: 5.062 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/0.02254, allocations: 353.4 kB / 0.8321 GB, free: 4.699 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008072/0.02335, allocations: 0.5106 MB / 0.8326 GB, free: 4.16 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.516e-05/0.02339, allocations: 49.67 kB / 0.8326 GB, free: 4.109 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.0235, allocations: 68.36 kB / 0.8327 GB, free: 4.043 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009572/0.02445, allocations: 0.9485 MB / 0.8336 GB, free: 2.918 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/0.02448, allocations: 12.08 kB / 0.8336 GB, free: 2.906 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.505e-05/0.02455, allocations: 36.36 kB / 0.8337 GB, free: 2.871 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001397/0.02469, allocations: 85.19 kB / 0.8337 GB, free: 2.789 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004465/0.02513, allocations: 260.6 kB / 0.834 GB, free: 2.535 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003619/0.02875, allocations: 3.926 MB / 0.8378 GB, free: 14.47 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004847/0.02924, allocations: 275.9 kB / 0.8381 GB, free: 14.19 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.02939, allocations: 100.9 kB / 0.8382 GB, free: 14.09 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.02942, allocations: 8.5 kB / 0.8382 GB, free: 14.08 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.02944, allocations: 43.06 kB / 0.8382 GB, free: 14.03 MB / 0.823 GB Notification: Performance of pre-optimization done (n=47): time 2.434e-06/0.02945, allocations: 4 kB / 0.8382 GB, free: 14.03 MB / 0.823 GB Notification: Performance of matching and sorting (n=48): time 0.001439/0.03088, allocations: 0.8082 MB / 0.839 GB, free: 13.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/0.03091, allocations: 55.91 kB / 0.8391 GB, free: 13.13 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000271/0.03118, allocations: 478.9 kB / 0.8395 GB, free: 12.65 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.03121, allocations: 37.7 kB / 0.8396 GB, free: 12.61 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.03135, allocations: 384.7 kB / 0.8399 GB, free: 12.23 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.152e-05/0.03143, allocations: 178.5 kB / 0.8401 GB, free: 12.05 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.03154, allocations: 122.5 kB / 0.8402 GB, free: 11.93 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.987e-05/0.03164, allocations: 378.6 kB / 0.8406 GB, free: 11.55 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.632e-05/0.03173, allocations: 73.97 kB / 0.8407 GB, free: 11.48 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.03191, allocations: 304.9 kB / 0.8409 GB, free: 11.08 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003221/0.03223, allocations: 438.8 kB / 0.8414 GB, free: 10.56 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.03223, allocations: 4 kB / 0.8414 GB, free: 10.55 MB / 0.823 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009573/0.03319, allocations: 0.5631 MB / 0.8419 GB, free: 9.965 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.03321, allocations: 11.94 kB / 0.8419 GB, free: 9.953 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.03322, allocations: 8 kB / 0.8419 GB, free: 9.945 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006214/0.03384, allocations: 278.8 kB / 0.8422 GB, free: 9.656 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/0.0341, allocations: 123.8 kB / 0.8423 GB, free: 9.535 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002768/0.03687, allocations: 5.322 MB / 0.8475 GB, free: 3.828 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.03706, allocations: 20 kB / 0.8475 GB, free: 3.809 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-05/0.03709, allocations: 24 kB / 0.8476 GB, free: 3.785 MB / 0.823 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001352/0.03722, allocations: 152.5 kB / 0.8477 GB, free: 3.625 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.606e-05/0.03729, allocations: 59.94 kB / 0.8478 GB, free: 3.566 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005173/0.03781, allocations: 451.6 kB / 0.8482 GB, free: 3.094 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.03781, allocations: 4 kB / 0.8482 GB, free: 3.09 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.03781, allocations: 7.938 kB / 0.8482 GB, free: 3.082 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.03782, allocations: 3.984 kB / 0.8482 GB, free: 3.078 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.03891, allocations: 0.8853 MB / 0.8491 GB, free: 2.129 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.03891, allocations: 3.984 kB / 0.8491 GB, free: 2.125 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.03904, allocations: 51.92 kB / 0.8491 GB, free: 2.074 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.03914, allocations: 83.55 kB / 0.8492 GB, free: 1.992 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005171/0.03966, allocations: 278.5 kB / 0.8495 GB, free: 1.703 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.03968, allocations: 8 kB / 0.8495 GB, free: 1.695 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002487/0.04216, allocations: 5.31 MB / 0.8547 GB, free: 12 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.04217, allocations: 11.92 kB / 0.8547 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005097/0.04268, allocations: 0.5781 MB / 0.8552 GB, free: 11.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/0.04272, allocations: 11.98 kB / 0.8553 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.04286, allocations: 12 kB / 0.8553 GB, free: 11.33 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.293e-05/0.04292, allocations: 51.8 kB / 0.8553 GB, free: 11.28 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.04294, allocations: 12 kB / 0.8553 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001392/0.04308, allocations: 204.4 kB / 0.8555 GB, free: 11.07 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4e-08/0.04308, allocations: 0 / 0.8555 GB, free: 11.07 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006903/0.04377, allocations: 227.9 kB / 0.8557 GB, free: 10.85 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.671e-05/0.04387, allocations: 100.3 kB / 0.8558 GB, free: 10.74 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007274/0.0446, allocations: 0.89 MB / 0.8567 GB, free: 9.801 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.038e-05/0.04462, allocations: 12.69 kB / 0.8567 GB, free: 9.789 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004826/0.0451, allocations: 0.7151 MB / 0.8574 GB, free: 9.02 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005001/0.0456, allocations: 252.4 kB / 0.8577 GB, free: 8.777 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005248/0.05085, allocations: 1.323 MB / 0.8589 GB, free: 7.398 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001428/0.05099, allocations: 211.4 kB / 0.8591 GB, free: 7.172 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001722/0.05116, allocations: 73.56 kB / 0.8592 GB, free: 7.098 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00028/0.05144, allocations: 217.2 kB / 0.8594 GB, free: 6.887 MB / 0.8386 GB Notification: Performance of SimCode: time 7.01e-07/0.05144, allocations: 0 / 0.8594 GB, free: 6.887 MB / 0.8386 GB Notification: Performance of Templates: time 0.01436/0.0658, allocations: 12.51 MB / 0.8716 GB, free: 10.6 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.362983850762248]