Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001587/0.001587, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.002067/0.002067, allocations: 219.1 kB / 23.01 MB, free: 4.605 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.721/2.721, allocations: 476.7 MB / 0.7714 GB, free: 4.289 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: 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_11_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_11_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.002082/0.002082, allocations: 72.5 kB / 1.119 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3776, allocations: 170 MB / 1.285 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01025/0.3878, allocations: 7.099 MB / 1.292 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00597/0.3938, allocations: 3.211 MB / 1.295 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005117/0.3943, allocations: 35.69 kB / 1.295 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002645/0.397, allocations: 0.9921 MB / 1.296 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001265/0.3982, allocations: 0.5246 MB / 1.296 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.3994, allocations: 455.4 kB / 1.297 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001514/0.4009, allocations: 1.232 MB / 1.298 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008485/0.4018, allocations: 0.5218 MB / 1.298 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007375/0.4025, allocations: 0.4943 MB / 1.299 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008072/0.4033, allocations: 0.5409 MB / 1.299 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.4034, allocations: 71.98 kB / 1.299 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007631/0.4042, allocations: 391.2 kB / 1.3 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003452/0.4046, allocations: 311.1 kB / 1.3 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004688/0.405, allocations: 453.7 kB / 1.301 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001523/0.4065, allocations: 1.233 MB / 1.302 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4065, allocations: 0 / 1.302 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4065, allocations: 0 / 1.302 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.369e-05/0.4066, allocations: 4 kB / 1.302 GB, free: 9.641 MB / 0.9981 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.00204/0.4086, allocations: 1.112 MB / 1.303 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.4086, allocations: 16.02 kB / 1.303 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/0.4101, allocations: 240.1 kB / 1.303 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.4111, allocations: 0.5437 MB / 1.304 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.733e-05/0.4112, allocations: 49.69 kB / 1.304 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.4113, allocations: 60.36 kB / 1.304 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/0.4129, allocations: 1.097 MB / 1.305 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.882e-05/0.413, allocations: 7.891 kB / 1.305 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.096e-05/0.413, allocations: 32 kB / 1.305 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001541/0.4132, allocations: 85.25 kB / 1.305 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.4146, allocations: 0.7465 MB / 1.306 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006245/0.4208, allocations: 5.803 MB / 1.311 GB, free: 15.27 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.4218, allocations: 0.5125 MB / 1.312 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004761/0.4223, allocations: 286 kB / 1.312 GB, free: 14.46 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.497e-05/0.4223, allocations: 4.438 kB / 1.312 GB, free: 14.46 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.4224, allocations: 39 kB / 1.312 GB, free: 14.41 MB / 1.014 GB Notification: Performance of pre-optimization done (n=47): time 2.464e-06/0.4224, allocations: 0 / 1.312 GB, free: 14.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=48): time 0.003814/0.4262, allocations: 1.686 MB / 1.314 GB, free: 12.71 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.4263, allocations: 55.84 kB / 1.314 GB, free: 12.64 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006887/0.4269, allocations: 0.5626 MB / 1.314 GB, free: 12.07 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.531e-05/0.427, allocations: 37.7 kB / 1.314 GB, free: 12.03 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.00033/0.4273, allocations: 432 kB / 1.315 GB, free: 11.6 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000156/0.4275, allocations: 178.5 kB / 1.315 GB, free: 11.43 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001946/0.4277, allocations: 130.6 kB / 1.315 GB, free: 11.29 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001981/0.4279, allocations: 378.7 kB / 1.315 GB, free: 10.91 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000432/0.4283, allocations: 273.8 kB / 1.316 GB, free: 10.64 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006398/0.4289, allocations: 492.9 kB / 1.316 GB, free: 10.07 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.4301, allocations: 0.8083 MB / 1.317 GB, free: 9.164 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.4301, allocations: 4 kB / 1.317 GB, free: 9.16 MB / 1.014 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001905/0.432, allocations: 1.077 MB / 1.318 GB, free: 8.062 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.432, allocations: 11.98 kB / 1.318 GB, free: 8.051 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.432, allocations: 4.875 kB / 1.318 GB, free: 8.047 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000855/0.4329, allocations: 283.2 kB / 1.318 GB, free: 7.758 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004607/0.4333, allocations: 119.8 kB / 1.318 GB, free: 7.641 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007224/0.4405, allocations: 6.736 MB / 1.325 GB, free: 456 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005989/0.4411, allocations: 39.97 kB / 1.325 GB, free: 416 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.843e-05/0.4412, allocations: 32.06 kB / 1.325 GB, free: 384 kB / 1.014 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.0004024/0.4416, allocations: 256 kB / 1.325 GB, free: 120 kB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.4417, allocations: 83.45 kB / 1.325 GB, free: 36 kB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/0.4434, allocations: 0.8769 MB / 1.326 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.4434, allocations: 4 kB / 1.326 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.4434, allocations: 4 kB / 1.326 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.4434, allocations: 7.922 kB / 1.326 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002844/0.4462, allocations: 1.684 MB / 1.328 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.4463, allocations: 4 kB / 1.328 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002613/0.4465, allocations: 67.83 kB / 1.328 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007442/0.4473, allocations: 263.4 kB / 1.328 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.358e-05/0.4473, allocations: 12 kB / 1.328 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007146/0.4544, allocations: 6.717 MB / 1.335 GB, free: 5.82 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.4544, allocations: 4.094 kB / 1.335 GB, free: 5.816 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001723/0.4562, allocations: 0.9837 MB / 1.336 GB, free: 4.789 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003202/0.4565, allocations: 115.5 kB / 1.336 GB, free: 4.676 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.093e-05/0.4566, allocations: 12 kB / 1.336 GB, free: 4.664 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003591/0.4569, allocations: 31.91 kB / 1.336 GB, free: 4.633 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.457, allocations: 47.91 kB / 1.336 GB, free: 4.586 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.62e-05/0.4571, allocations: 16 kB / 1.336 GB, free: 4.57 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005789/0.4577, allocations: 387.1 kB / 1.336 GB, free: 4.199 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4577, allocations: 0 / 1.336 GB, free: 4.199 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008453/0.4585, allocations: 224 kB / 1.337 GB, free: 3.98 MB / 1.029 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.0001839/0.4587, allocations: 115.2 kB / 1.337 GB, free: 3.855 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002064/0.4607, allocations: 1.236 MB / 1.338 GB, free: 2.57 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.4608, allocations: 0 / 1.338 GB, free: 2.57 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001413/0.4622, allocations: 0.8736 MB / 1.339 GB, free: 1.645 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009761/0.4631, allocations: 230.4 kB / 1.339 GB, free: 1.422 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/0.4656, allocations: 1.413 MB / 1.34 GB, free: 15.95 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008148/0.4664, allocations: 1.017 MB / 1.341 GB, free: 14.9 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001921/0.4666, allocations: 43.44 kB / 1.341 GB, free: 14.86 MB / 1.045 GB Notification: Performance of SimCode: time 1.352e-06/0.4666, allocations: 4 kB / 1.341 GB, free: 14.86 MB / 1.045 GB Notification: Performance of Templates: time 0.0269/0.4935, allocations: 20.96 MB / 1.362 GB, free: 9.953 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 13.988926741003525]