Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.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.001623/0.001623, allocations: 79.97 kB / 19.18 MB, free: 2.527 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.001813/0.001813, allocations: 165.4 kB / 22.46 MB, free: 5.355 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.436/1.436, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.631/2.631, allocations: 359 MB / 0.6037 GB, free: 14.97 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.236e-05/2.397e-05, allocations: 2.281 kB / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009223/0.009247, allocations: 6.395 MB / 0.9572 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005375/0.01462, allocations: 3.001 MB / 0.9601 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003113/0.01493, allocations: 35.69 kB / 0.9602 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002624/0.01756, allocations: 0.9602 MB / 0.9611 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001166/0.01872, allocations: 0.5357 MB / 0.9616 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.01975, allocations: 426.8 kB / 0.962 GB, free: 176 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001499/0.02125, allocations: 1.263 MB / 0.9633 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008456/0.02209, allocations: 0.5294 MB / 0.9638 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008977/0.02299, allocations: 0.6624 MB / 0.9644 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007213/0.02371, allocations: 478.6 kB / 0.9649 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.02382, allocations: 71.94 kB / 0.965 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000614/0.02444, allocations: 339.2 kB / 0.9653 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003532/0.02479, allocations: 339 kB / 0.9656 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000394/0.02518, allocations: 311.3 kB / 0.9659 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001523/0.02671, allocations: 1.246 MB / 0.9671 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.02671, allocations: 0 / 0.9671 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.303e-06/0.02671, allocations: 0 / 0.9671 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.842e-05/0.02673, allocations: 0 / 0.9671 GB, free: 10.95 MB / 0.8731 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.002151/0.02888, allocations: 1.1 MB / 0.9682 GB, free: 9.816 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.02893, allocations: 16.02 kB / 0.9682 GB, free: 9.801 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001614/0.03054, allocations: 240.1 kB / 0.9684 GB, free: 9.566 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.03155, allocations: 0.5223 MB / 0.969 GB, free: 9.016 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.148e-05/0.03161, allocations: 45.67 kB / 0.969 GB, free: 8.969 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.03174, allocations: 72.36 kB / 0.9691 GB, free: 8.898 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00186/0.0336, allocations: 1.336 MB / 0.9704 GB, free: 7.391 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.03362, allocations: 192 / 0.9704 GB, free: 7.391 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.18e-05/0.03371, allocations: 48.22 kB / 0.9704 GB, free: 7.344 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000164/0.03388, allocations: 85.2 kB / 0.9705 GB, free: 7.262 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001312/0.03519, allocations: 0.7504 MB / 0.9712 GB, free: 6.508 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005485/0.04067, allocations: 4.511 MB / 0.9756 GB, free: 1.848 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.04173, allocations: 0.5125 MB / 0.9761 GB, free: 1.324 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004679/0.04219, allocations: 282.2 kB / 0.9764 GB, free: 1.047 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.124e-05/0.04223, allocations: 4.5 kB / 0.9764 GB, free: 1.043 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/0.04227, allocations: 47.05 kB / 0.9765 GB, free: 0.9883 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=47): time 2.024e-06/0.04227, allocations: 0 / 0.9765 GB, free: 0.9883 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48): time 0.004054/0.04633, allocations: 1.681 MB / 0.9781 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/0.04639, allocations: 55.91 kB / 0.9782 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006409/0.04703, allocations: 0.5104 MB / 0.9787 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.695e-05/0.04708, allocations: 33.7 kB / 0.9787 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.00033/0.04741, allocations: 427.8 kB / 0.9791 GB, free: 14.24 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/0.04758, allocations: 178.5 kB / 0.9793 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/0.04779, allocations: 122.6 kB / 0.9794 GB, free: 13.94 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002014/0.04799, allocations: 370.8 kB / 0.9797 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004555/0.04844, allocations: 277.8 kB / 0.98 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00064/0.04908, allocations: 0.4891 MB / 0.9805 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.05024, allocations: 0.8125 MB / 0.9813 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.05024, allocations: 0 / 0.9813 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001952/0.0522, allocations: 1.074 MB / 0.9823 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.05222, allocations: 8 kB / 0.9823 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.05223, allocations: 8 kB / 0.9823 GB, free: 10.69 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009104/0.05314, allocations: 279.6 kB / 0.9826 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005181/0.05366, allocations: 127.7 kB / 0.9827 GB, free: 10.28 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007415/0.06107, allocations: 6.582 MB / 0.9892 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005783/0.06165, allocations: 31.97 kB / 0.9892 GB, free: 3.254 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.093e-05/0.06171, allocations: 39.92 kB / 0.9892 GB, free: 3.215 MB / 0.8887 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.0003845/0.0621, allocations: 245.7 kB / 0.9895 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.06223, allocations: 75.58 kB / 0.9895 GB, free: 2.891 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001731/0.06396, allocations: 0.8699 MB / 0.9904 GB, free: 2 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.06396, allocations: 4 kB / 0.9904 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.341e-06/0.06397, allocations: 8 kB / 0.9904 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.06398, allocations: 3.984 kB / 0.9904 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002703/0.06668, allocations: 1.533 MB / 0.9919 GB, free: 392 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.06669, allocations: 7.938 kB / 0.9919 GB, free: 384 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002851/0.06697, allocations: 64.2 kB / 0.992 GB, free: 320 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008047/0.06778, allocations: 263.4 kB / 0.9922 GB, free: 44 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.231e-05/0.06781, allocations: 12 kB / 0.9922 GB, free: 32 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007274/0.07508, allocations: 6.582 MB / 0.9986 GB, free: 9.039 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.07509, allocations: 4.031 kB / 0.9987 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/0.0768, allocations: 0.9659 MB / 0.9996 GB, free: 8.023 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002683/0.07707, allocations: 111.5 kB / 0.9997 GB, free: 7.914 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.306e-05/0.07715, allocations: 16.06 kB / 0.9997 GB, free: 7.898 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003754/0.07752, allocations: 27.97 kB / 0.9997 GB, free: 7.871 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.07764, allocations: 51.84 kB / 0.9998 GB, free: 7.82 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.603e-05/0.07768, allocations: 12 kB / 0.9998 GB, free: 7.809 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004269/0.0781, allocations: 342.8 kB / 1 GB, free: 7.477 MB / 0.9044 GB Notification: Performance of sort global known variables: time 8e-08/0.0781, allocations: 0 / 1 GB, free: 7.477 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008236/0.07893, allocations: 220 kB / 1 GB, free: 7.262 MB / 0.9044 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 0.0001716/0.0791, allocations: 119.2 kB / 1 GB, free: 7.133 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002121/0.08122, allocations: 1.228 MB / 1.002 GB, free: 5.852 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.08122, allocations: 0 / 1.002 GB, free: 5.852 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001399/0.08262, allocations: 0.8545 MB / 1.002 GB, free: 4.945 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.08364, allocations: 213.2 kB / 1.003 GB, free: 4.746 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/0.08606, allocations: 1.328 MB / 1.004 GB, free: 3.367 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004759/0.08654, allocations: 415.3 kB / 1.004 GB, free: 2.938 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003458/0.08688, allocations: 113.5 kB / 1.004 GB, free: 2.824 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.087, allocations: 36.5 kB / 1.005 GB, free: 2.789 MB / 0.9044 GB Notification: Performance of SimCode: time 6.52e-07/0.087, allocations: 0 / 1.005 GB, free: 2.789 MB / 0.9044 GB Notification: Performance of Templates: time 0.02122/0.1082, allocations: 11.29 MB / 1.016 GB, free: 7.777 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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: 7.912734843790531]