Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.001791/0.001791, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.001724/0.001724, allocations: 212.7 kB / 23 MB, free: 4.934 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.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.317/3.317, allocations: 0.49 GB / 0.7959 GB, free: 35.46 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.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [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.002023/0.002023, allocations: 72.3 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4088/0.4108, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.008063/0.4189, allocations: 4.622 MB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004908/0.4238, allocations: 2.401 MB / 1.334 GB, free: 9.918 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000363/0.4242, allocations: 39.62 kB / 1.334 GB, free: 9.879 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.4254, allocations: 406.8 kB / 1.334 GB, free: 9.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001169/0.4266, allocations: 465.7 kB / 1.335 GB, free: 9.023 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009284/0.4275, allocations: 380.2 kB / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001152/0.4287, allocations: 0.9178 MB / 1.336 GB, free: 7.734 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005398/0.4292, allocations: 314.4 kB / 1.336 GB, free: 7.418 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000566/0.4298, allocations: 362.6 kB / 1.337 GB, free: 7.062 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000526/0.4303, allocations: 358.5 kB / 1.337 GB, free: 6.711 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.16e-05/0.4304, allocations: 40 kB / 1.337 GB, free: 6.672 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007276/0.4311, allocations: 367.1 kB / 1.337 GB, free: 6.312 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002183/0.4313, allocations: 187.3 kB / 1.338 GB, free: 6.129 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002969/0.4316, allocations: 262.7 kB / 1.338 GB, free: 5.871 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.4328, allocations: 0.8948 MB / 1.339 GB, free: 4.973 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4328, allocations: 0 / 1.339 GB, free: 4.973 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4328, allocations: 3.938 kB / 1.339 GB, free: 4.969 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.4328, allocations: 0 / 1.339 GB, free: 4.969 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.0016/0.4344, allocations: 0.8818 MB / 1.34 GB, free: 4.051 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.4344, allocations: 8.031 kB / 1.34 GB, free: 4.043 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/0.4357, allocations: 200.3 kB / 1.34 GB, free: 3.848 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009147/0.4367, allocations: 484.7 kB / 1.34 GB, free: 3.352 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.872e-05/0.4367, allocations: 37.36 kB / 1.34 GB, free: 3.316 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.661e-05/0.4368, allocations: 44.33 kB / 1.34 GB, free: 3.273 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.4381, allocations: 0.9859 MB / 1.341 GB, free: 2.121 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.4381, allocations: 7.938 kB / 1.341 GB, free: 2.113 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-05/0.4382, allocations: 27.97 kB / 1.341 GB, free: 2.086 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001051/0.4383, allocations: 64.95 kB / 1.341 GB, free: 2.023 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008918/0.4392, allocations: 0.5656 MB / 1.342 GB, free: 1.457 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004586/0.4438, allocations: 4.627 MB / 1.346 GB, free: 12.65 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006786/0.4444, allocations: 416.7 kB / 1.347 GB, free: 12.23 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003201/0.4448, allocations: 208.7 kB / 1.347 GB, free: 12.03 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.4448, allocations: 0 / 1.347 GB, free: 12.03 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.4448, allocations: 38.5 kB / 1.347 GB, free: 11.98 MB / 1.045 GB Notification: Performance of pre-optimization done (n=32): time 1.874e-06/0.4448, allocations: 4 kB / 1.347 GB, free: 11.98 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.002547/0.4474, allocations: 1.128 MB / 1.348 GB, free: 10.82 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.4474, allocations: 63.62 kB / 1.348 GB, free: 10.75 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005391/0.448, allocations: 470.7 kB / 1.349 GB, free: 10.28 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.448, allocations: 29.7 kB / 1.349 GB, free: 10.25 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003106/0.4483, allocations: 372.2 kB / 1.349 GB, free: 9.875 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.4484, allocations: 131 kB / 1.349 GB, free: 9.746 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001749/0.4486, allocations: 106.2 kB / 1.349 GB, free: 9.637 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002005/0.4488, allocations: 362.8 kB / 1.35 GB, free: 9.273 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003171/0.4491, allocations: 193.2 kB / 1.35 GB, free: 9.082 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005272/0.4496, allocations: 447.9 kB / 1.35 GB, free: 8.531 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009219/0.4506, allocations: 0.6877 MB / 1.351 GB, free: 7.727 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.4506, allocations: 4 kB / 1.351 GB, free: 7.723 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001362/0.4519, allocations: 0.8094 MB / 1.352 GB, free: 6.891 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.4519, allocations: 8 kB / 1.352 GB, free: 6.883 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.452, allocations: 8 kB / 1.352 GB, free: 6.875 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005347/0.4525, allocations: 152.8 kB / 1.352 GB, free: 6.711 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00044/0.4529, allocations: 127.7 kB / 1.352 GB, free: 6.586 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003735/0.4567, allocations: 3.961 MB / 1.356 GB, free: 2.316 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003724/0.457, allocations: 35.97 kB / 1.356 GB, free: 2.281 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.4571, allocations: 28 kB / 1.356 GB, free: 2.254 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002848/0.4574, allocations: 213.8 kB / 1.356 GB, free: 2.035 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.916e-05/0.4575, allocations: 59.61 kB / 1.356 GB, free: 1.977 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/0.4586, allocations: 0.6005 MB / 1.357 GB, free: 1.355 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.4586, allocations: 3.938 kB / 1.357 GB, free: 1.352 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.4586, allocations: 0 / 1.357 GB, free: 1.352 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002265/0.4588, allocations: 87.56 kB / 1.357 GB, free: 1.266 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.739e-05/0.4589, allocations: 4 kB / 1.357 GB, free: 1.262 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.4591, allocations: 23.97 kB / 1.357 GB, free: 1.238 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.595e-05/0.4592, allocations: 35.88 kB / 1.357 GB, free: 1.203 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001407/0.4606, allocations: 0.6646 MB / 1.358 GB, free: 0.5156 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001066/0.4616, allocations: 0.8264 MB / 1.358 GB, free: 15.67 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002791/0.4619, allocations: 179.9 kB / 1.359 GB, free: 15.5 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003732/0.4623, allocations: 302.9 kB / 1.359 GB, free: 15.2 MB / 1.061 GB Notification: Performance of Backend: time 8.02e-07/0.4623, allocations: 0 / 1.359 GB, free: 15.2 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002184/0.4645, allocations: 0.9811 MB / 1.36 GB, free: 14.18 MB / 1.061 GB Notification: Performance of SimCode: time 0.002389/0.4669, allocations: 1.574 MB / 1.361 GB, free: 12.55 MB / 1.061 GB Notification: Performance of Templates: time 0.01964/0.4865, allocations: 11.13 MB / 1.372 GB, free: 1.609 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.413650014997984]