Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001341/0.001341, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001459/0.001459, allocations: 207.2 kB / 22.99 MB, free: 4.957 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.141/3.141, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.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_12_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.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_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [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.002065/0.002065, allocations: 73.25 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2976, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009079/0.3067, allocations: 6.566 MB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005478/0.3122, allocations: 3.064 MB / 1.336 GB, free: 7.34 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004413/0.3126, allocations: 43.62 kB / 1.337 GB, free: 7.297 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002667/0.3153, allocations: 0.9505 MB / 1.337 GB, free: 6.344 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001193/0.3165, allocations: 0.5246 MB / 1.338 GB, free: 5.816 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.3176, allocations: 443.2 kB / 1.338 GB, free: 5.387 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001357/0.319, allocations: 1.232 MB / 1.34 GB, free: 4.148 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007935/0.3198, allocations: 0.5451 MB / 1.34 GB, free: 3.594 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006233/0.3204, allocations: 498.2 kB / 1.341 GB, free: 3.105 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007289/0.3211, allocations: 0.5448 MB / 1.341 GB, free: 2.559 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.3212, allocations: 64 kB / 1.341 GB, free: 2.496 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006139/0.3218, allocations: 343.3 kB / 1.342 GB, free: 2.16 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003191/0.3222, allocations: 323 kB / 1.342 GB, free: 1.844 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003881/0.3225, allocations: 374.3 kB / 1.342 GB, free: 1.477 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001344/0.3239, allocations: 1.241 MB / 1.343 GB, free: 236 kB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3239, allocations: 4 kB / 1.343 GB, free: 232 kB / 1.029 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3239, allocations: 0 / 1.343 GB, free: 232 kB / 1.029 GB Notification: Performance of Transformations before backend: time 1.263e-05/0.3239, allocations: 0 / 1.343 GB, free: 232 kB / 1.029 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.002001/0.3259, allocations: 1.117 MB / 1.344 GB, free: 15.07 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.3259, allocations: 12.02 kB / 1.344 GB, free: 15.06 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001611/0.3276, allocations: 236.1 kB / 1.345 GB, free: 14.83 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.3286, allocations: 0.536 MB / 1.345 GB, free: 14.27 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.125e-05/0.3287, allocations: 53.67 kB / 1.345 GB, free: 14.22 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.3288, allocations: 64.31 kB / 1.345 GB, free: 14.16 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/0.3305, allocations: 1.34 MB / 1.347 GB, free: 12.64 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.756e-05/0.3306, allocations: 11.95 kB / 1.347 GB, free: 12.63 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.839e-05/0.3306, allocations: 31.98 kB / 1.347 GB, free: 12.6 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001555/0.3308, allocations: 85.25 kB / 1.347 GB, free: 12.52 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/0.332, allocations: 0.7542 MB / 1.348 GB, free: 11.76 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005165/0.3372, allocations: 4.531 MB / 1.352 GB, free: 7.078 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.3382, allocations: 0.5067 MB / 1.352 GB, free: 6.559 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004407/0.3387, allocations: 286 kB / 1.353 GB, free: 6.277 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.154e-05/0.3387, allocations: 4.438 kB / 1.353 GB, free: 6.273 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.3387, allocations: 39 kB / 1.353 GB, free: 6.227 MB / 1.045 GB Notification: Performance of pre-optimization done (n=47): time 2.294e-06/0.3387, allocations: 0 / 1.353 GB, free: 6.227 MB / 1.045 GB Notification: Performance of matching and sorting (n=48): time 0.003958/0.3427, allocations: 1.69 MB / 1.354 GB, free: 4.52 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.3427, allocations: 55.84 kB / 1.354 GB, free: 4.453 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006086/0.3433, allocations: 0.5145 MB / 1.355 GB, free: 3.93 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.688e-05/0.3434, allocations: 37.7 kB / 1.355 GB, free: 3.887 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003041/0.3437, allocations: 423.9 kB / 1.355 GB, free: 3.465 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/0.3438, allocations: 178.4 kB / 1.356 GB, free: 3.289 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/0.3441, allocations: 126.6 kB / 1.356 GB, free: 3.16 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001877/0.3442, allocations: 378.6 kB / 1.356 GB, free: 2.781 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004509/0.3447, allocations: 273.8 kB / 1.356 GB, free: 2.516 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006135/0.3453, allocations: 0.4897 MB / 1.357 GB, free: 1.93 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.3464, allocations: 0.8083 MB / 1.358 GB, free: 1.027 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3464, allocations: 0 / 1.358 GB, free: 1.027 MB / 1.045 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001978/0.3484, allocations: 1.074 MB / 1.359 GB, free: 15.93 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.3484, allocations: 11.94 kB / 1.359 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.3484, allocations: 8 kB / 1.359 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009382/0.3494, allocations: 283.4 kB / 1.359 GB, free: 15.62 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005096/0.3499, allocations: 127.7 kB / 1.359 GB, free: 15.5 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007074/0.357, allocations: 6.594 MB / 1.365 GB, free: 8.484 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005577/0.3575, allocations: 35.97 kB / 1.366 GB, free: 8.449 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.485e-05/0.3576, allocations: 32 kB / 1.366 GB, free: 8.418 MB / 1.061 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.0003667/0.3579, allocations: 250.5 kB / 1.366 GB, free: 8.164 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.358, allocations: 71.58 kB / 1.366 GB, free: 8.094 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001679/0.3597, allocations: 0.8764 MB / 1.367 GB, free: 7.203 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.3597, allocations: 8 kB / 1.367 GB, free: 7.195 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.3597, allocations: 4 kB / 1.367 GB, free: 7.191 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.3597, allocations: 7.984 kB / 1.367 GB, free: 7.184 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002704/0.3625, allocations: 1.517 MB / 1.368 GB, free: 5.598 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.3625, allocations: 0 / 1.368 GB, free: 5.598 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002917/0.3627, allocations: 67.88 kB / 1.368 GB, free: 5.531 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008319/0.3636, allocations: 267.3 kB / 1.369 GB, free: 5.258 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.593e-05/0.3636, allocations: 12 kB / 1.369 GB, free: 5.246 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006932/0.3705, allocations: 6.59 MB / 1.375 GB, free: 14.24 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.3705, allocations: 0 / 1.375 GB, free: 14.24 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00168/0.3722, allocations: 0.9763 MB / 1.376 GB, free: 13.22 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003302/0.3726, allocations: 111.5 kB / 1.376 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.798e-05/0.3726, allocations: 16.12 kB / 1.376 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003896/0.373, allocations: 31.97 kB / 1.376 GB, free: 13.06 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.3732, allocations: 43.98 kB / 1.376 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.896e-05/0.3732, allocations: 16 kB / 1.376 GB, free: 13 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004728/0.3737, allocations: 346.8 kB / 1.376 GB, free: 12.67 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3737, allocations: 0 / 1.376 GB, free: 12.67 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009507/0.3746, allocations: 227.9 kB / 1.377 GB, free: 12.45 MB / 1.076 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.000214/0.3748, allocations: 115.2 kB / 1.377 GB, free: 12.32 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002295/0.3771, allocations: 1.24 MB / 1.378 GB, free: 11.04 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.3771, allocations: 0 / 1.378 GB, free: 11.04 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001343/0.3785, allocations: 0.8581 MB / 1.379 GB, free: 10.12 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.3796, allocations: 202 kB / 1.379 GB, free: 9.934 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002775/0.3823, allocations: 1.366 MB / 1.38 GB, free: 8.52 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005292/0.3829, allocations: 412.8 kB / 1.381 GB, free: 8.086 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003889/0.3832, allocations: 117.5 kB / 1.381 GB, free: 7.969 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.3834, allocations: 35.44 kB / 1.381 GB, free: 7.934 MB / 1.076 GB Notification: Performance of SimCode: time 1.052e-06/0.3834, allocations: 0 / 1.381 GB, free: 7.934 MB / 1.076 GB Notification: Performance of Templates: time 0.02194/0.4053, allocations: 12.54 MB / 1.393 GB, free: 11.64 MB / 1.092 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.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: 8.834842900003423]