Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.002067/0.002067, allocations: 107.4 kB / 16.46 MB, free: 6.453 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.002479/0.002479, allocations: 210.4 kB / 19.43 MB, free: 3.625 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.531/1.531, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.345/3.345, allocations: 0.4899 GB / 0.7915 GB, free: 33.23 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: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [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.002084/0.002084, allocations: 63.39 kB / 1.149 GB, free: 26.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3663, allocations: 176.1 MB / 1.321 GB, free: 2.801 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.008409/0.3747, allocations: 5.614 MB / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005318/0.38, allocations: 2.72 MB / 1.329 GB, free: 10.43 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005356/0.3805, allocations: 31.69 kB / 1.329 GB, free: 10.4 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002078/0.3826, allocations: 0.6956 MB / 1.33 GB, free: 9.703 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001281/0.3839, allocations: 421.7 kB / 1.331 GB, free: 9.289 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.3851, allocations: 415 kB / 1.331 GB, free: 8.883 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001388/0.3865, allocations: 0.9591 MB / 1.332 GB, free: 7.918 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006463/0.3871, allocations: 370.6 kB / 1.332 GB, free: 7.551 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006474/0.3878, allocations: 390.5 kB / 1.333 GB, free: 7.168 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005947/0.3883, allocations: 434.4 kB / 1.333 GB, free: 6.742 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.653e-05/0.3884, allocations: 51.94 kB / 1.333 GB, free: 6.691 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007179/0.3891, allocations: 371.2 kB / 1.333 GB, free: 6.328 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002832/0.3894, allocations: 247.2 kB / 1.334 GB, free: 6.086 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003864/0.3898, allocations: 346.3 kB / 1.334 GB, free: 5.746 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0013/0.3911, allocations: 0.9766 MB / 1.335 GB, free: 4.766 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3911, allocations: 0 / 1.335 GB, free: 4.766 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.714e-06/0.3911, allocations: 0 / 1.335 GB, free: 4.766 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.949e-05/0.3911, allocations: 8 kB / 1.335 GB, free: 4.758 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001796/0.3929, allocations: 0.9939 MB / 1.336 GB, free: 3.715 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.393, allocations: 11.98 kB / 1.336 GB, free: 3.703 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001466/0.3944, allocations: 204.3 kB / 1.336 GB, free: 3.504 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008715/0.3953, allocations: 0.5261 MB / 1.337 GB, free: 2.941 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.681e-05/0.3954, allocations: 41.38 kB / 1.337 GB, free: 2.898 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001798/0.3955, allocations: 56.5 kB / 1.337 GB, free: 2.844 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.3968, allocations: 0.8395 MB / 1.338 GB, free: 1.926 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.3968, allocations: 8 kB / 1.338 GB, free: 1.918 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.519e-05/0.3969, allocations: 20 kB / 1.338 GB, free: 1.898 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002053/0.3971, allocations: 68.94 kB / 1.338 GB, free: 1.832 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009861/0.3981, allocations: 0.5696 MB / 1.338 GB, free: 1.258 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005426/0.4035, allocations: 4.578 MB / 1.343 GB, free: 12.33 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005343/0.4041, allocations: 279.2 kB / 1.343 GB, free: 12.05 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003367/0.4044, allocations: 213.3 kB / 1.343 GB, free: 11.84 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/0.4044, allocations: 8.219 kB / 1.343 GB, free: 11.83 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.4045, allocations: 34.84 kB / 1.343 GB, free: 11.79 MB / 1.045 GB Notification: Performance of pre-optimization done (n=33): time 2.074e-06/0.4045, allocations: 0 / 1.343 GB, free: 11.79 MB / 1.045 GB Notification: Performance of matching and sorting (n=40): time 0.006222/0.4107, allocations: 2.651 MB / 1.346 GB, free: 9.008 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.4108, allocations: 55.41 kB / 1.346 GB, free: 8.941 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006046/0.4114, allocations: 466 kB / 1.346 GB, free: 8.473 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.111e-05/0.4114, allocations: 29.7 kB / 1.346 GB, free: 8.438 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002856/0.4117, allocations: 352.5 kB / 1.347 GB, free: 8.09 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.4118, allocations: 146.8 kB / 1.347 GB, free: 7.945 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001946/0.412, allocations: 106.2 kB / 1.347 GB, free: 7.836 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001975/0.4122, allocations: 370.8 kB / 1.347 GB, free: 7.465 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003881/0.4126, allocations: 233 kB / 1.347 GB, free: 7.238 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005517/0.4131, allocations: 410.4 kB / 1.348 GB, free: 6.758 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009713/0.4141, allocations: 0.674 MB / 1.348 GB, free: 6.012 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.4141, allocations: 4 kB / 1.348 GB, free: 6.008 MB / 1.045 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001927/0.416, allocations: 0.9099 MB / 1.349 GB, free: 5.082 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.4161, allocations: 14.02 kB / 1.349 GB, free: 5.07 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.4161, allocations: 4 kB / 1.349 GB, free: 5.066 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008888/0.417, allocations: 222.7 kB / 1.35 GB, free: 4.84 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005527/0.4175, allocations: 119.8 kB / 1.35 GB, free: 4.723 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006474/0.424, allocations: 5.34 MB / 1.355 GB, free: 14.96 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005782/0.4246, allocations: 27.97 kB / 1.355 GB, free: 14.94 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.923e-05/0.4246, allocations: 24 kB / 1.355 GB, free: 14.91 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0003928/0.425, allocations: 225.7 kB / 1.355 GB, free: 14.68 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.4251, allocations: 67.56 kB / 1.355 GB, free: 14.62 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001696/0.4268, allocations: 0.7618 MB / 1.356 GB, free: 13.84 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.4268, allocations: 8.125 kB / 1.356 GB, free: 13.83 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.4268, allocations: 4 kB / 1.356 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.4269, allocations: 3.984 kB / 1.356 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002735/0.4296, allocations: 1.494 MB / 1.357 GB, free: 12.24 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.4296, allocations: 0 / 1.357 GB, free: 12.24 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004005/0.43, allocations: 71.88 kB / 1.358 GB, free: 12.17 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000735/0.4307, allocations: 206.4 kB / 1.358 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.689e-05/0.4308, allocations: 12 kB / 1.358 GB, free: 11.95 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006136/0.4369, allocations: 5.27 MB / 1.363 GB, free: 6.258 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4369, allocations: 0 / 1.363 GB, free: 6.258 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002139/0.439, allocations: 1.135 MB / 1.364 GB, free: 5.074 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003028/0.4393, allocations: 168.7 kB / 1.364 GB, free: 4.891 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.33e-05/0.4394, allocations: 20.05 kB / 1.364 GB, free: 4.871 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003399/0.4398, allocations: 31.97 kB / 1.364 GB, free: 4.84 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.4399, allocations: 31.95 kB / 1.364 GB, free: 4.809 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.08e-05/0.4399, allocations: 16 kB / 1.364 GB, free: 4.793 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003957/0.4403, allocations: 306.9 kB / 1.365 GB, free: 4.496 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4403, allocations: 64 / 1.365 GB, free: 4.496 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007252/0.441, allocations: 176 kB / 1.365 GB, free: 4.324 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001625/0.4412, allocations: 111.2 kB / 1.365 GB, free: 4.203 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001751/0.4429, allocations: 0.973 MB / 1.366 GB, free: 3.191 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.4429, allocations: 7.938 kB / 1.366 GB, free: 3.184 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.444, allocations: 0.6656 MB / 1.366 GB, free: 2.48 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008947/0.4449, allocations: 186.2 kB / 1.367 GB, free: 2.305 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002592/0.4475, allocations: 1.272 MB / 1.368 GB, free: 0.9805 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000794/0.4483, allocations: 0.9533 MB / 1.369 GB, free: 0 / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0004208/0.4487, allocations: 109 kB / 1.369 GB, free: 15.89 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.4488, allocations: 39.44 kB / 1.369 GB, free: 15.86 MB / 1.076 GB Notification: Performance of SimCode: time 1.913e-06/0.4488, allocations: 0 / 1.369 GB, free: 15.86 MB / 1.076 GB Notification: Performance of Templates: time 0.0183/0.4671, allocations: 9.09 MB / 1.378 GB, free: 6.887 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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: 9.43717938195914]