Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.001403/0.001403, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001544/0.001544, allocations: 216.1 kB / 22.99 MB, free: 4.945 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.544/1.544, 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.289/3.289, allocations: 0.4892 GB / 0.7951 GB, free: 35.73 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.Loads.Examples.Impedances,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.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,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.ThreePhasesBalanced.Loads.Examples.Impedances") [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.002067/0.002067, allocations: 68.31 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4093, allocations: 176.1 MB / 1.326 GB, free: 1.891 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.008079/0.4174, allocations: 4.671 MB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005104/0.4225, allocations: 2.432 MB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000631/0.4231, allocations: 43.56 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001543/0.4246, allocations: 404.8 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001486/0.4261, allocations: 469.6 kB / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.4273, allocations: 403.1 kB / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001508/0.4288, allocations: 0.9256 MB / 1.335 GB, free: 8.543 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007015/0.4295, allocations: 326.3 kB / 1.336 GB, free: 8.215 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007883/0.4303, allocations: 354.6 kB / 1.336 GB, free: 7.867 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000747/0.431, allocations: 350.4 kB / 1.336 GB, free: 7.523 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.161e-05/0.4311, allocations: 40 kB / 1.336 GB, free: 7.484 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007589/0.4319, allocations: 363.1 kB / 1.337 GB, free: 7.129 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002399/0.4321, allocations: 183.3 kB / 1.337 GB, free: 6.949 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003677/0.4325, allocations: 262.7 kB / 1.337 GB, free: 6.691 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001233/0.4337, allocations: 0.9026 MB / 1.338 GB, free: 5.785 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.4337, allocations: 0 / 1.338 GB, free: 5.785 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4337, allocations: 0 / 1.338 GB, free: 5.785 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.736e-05/0.4337, allocations: 0 / 1.338 GB, free: 5.785 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.001615/0.4353, allocations: 0.8973 MB / 1.339 GB, free: 4.852 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.4354, allocations: 12.03 kB / 1.339 GB, free: 4.84 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/0.4367, allocations: 208.2 kB / 1.339 GB, free: 4.637 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009729/0.4376, allocations: 492.8 kB / 1.34 GB, free: 4.137 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.942e-05/0.4377, allocations: 37.34 kB / 1.34 GB, free: 4.102 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.322e-05/0.4378, allocations: 44.36 kB / 1.34 GB, free: 4.059 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.4391, allocations: 0.9703 MB / 1.341 GB, free: 2.918 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.002e-05/0.4391, allocations: 15.89 kB / 1.341 GB, free: 2.902 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.203e-05/0.4391, allocations: 20 kB / 1.341 GB, free: 2.883 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001017/0.4392, allocations: 68.89 kB / 1.341 GB, free: 2.816 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009067/0.4401, allocations: 0.5656 MB / 1.341 GB, free: 2.25 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004703/0.4449, allocations: 4.635 MB / 1.346 GB, free: 13.43 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00069/0.4455, allocations: 422.8 kB / 1.346 GB, free: 13.01 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000319/0.4459, allocations: 208.7 kB / 1.346 GB, free: 12.8 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.4459, allocations: 4 kB / 1.346 GB, free: 12.8 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.4459, allocations: 30.56 kB / 1.346 GB, free: 12.76 MB / 1.045 GB Notification: Performance of pre-optimization done (n=32): time 2.474e-06/0.4459, allocations: 4 kB / 1.346 GB, free: 12.76 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.00254/0.4485, allocations: 1.136 MB / 1.348 GB, free: 11.6 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/0.4485, allocations: 59.62 kB / 1.348 GB, free: 11.53 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005489/0.4491, allocations: 482.7 kB / 1.348 GB, free: 11.05 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/0.4491, allocations: 29.7 kB / 1.348 GB, free: 11.01 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000279/0.4494, allocations: 368.2 kB / 1.348 GB, free: 10.64 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.4495, allocations: 126.9 kB / 1.349 GB, free: 10.52 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/0.4497, allocations: 110.2 kB / 1.349 GB, free: 10.41 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000205/0.4499, allocations: 366.8 kB / 1.349 GB, free: 10.04 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003054/0.4502, allocations: 193.2 kB / 1.349 GB, free: 9.848 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005311/0.4507, allocations: 447.9 kB / 1.35 GB, free: 9.297 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009258/0.4516, allocations: 0.6959 MB / 1.35 GB, free: 8.484 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.4516, allocations: 4 kB / 1.35 GB, free: 8.48 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001375/0.453, allocations: 0.7982 MB / 1.351 GB, free: 7.66 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/0.453, allocations: 8 kB / 1.351 GB, free: 7.652 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.4531, allocations: 12.12 kB / 1.351 GB, free: 7.641 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005154/0.4536, allocations: 160 kB / 1.351 GB, free: 7.469 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004599/0.454, allocations: 119.8 kB / 1.351 GB, free: 7.352 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003793/0.4578, allocations: 3.969 MB / 1.355 GB, free: 3.074 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003732/0.4582, allocations: 40.06 kB / 1.355 GB, free: 3.035 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.432e-05/0.4582, allocations: 28 kB / 1.355 GB, free: 3.008 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.0002946/0.4585, allocations: 205.6 kB / 1.356 GB, free: 2.797 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.689e-05/0.4586, allocations: 63.56 kB / 1.356 GB, free: 2.734 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/0.4598, allocations: 0.5966 MB / 1.356 GB, free: 2.117 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.4598, allocations: 0 / 1.356 GB, free: 2.117 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/0.4598, allocations: 8 kB / 1.356 GB, free: 2.109 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.4598, allocations: 7.922 kB / 1.356 GB, free: 2.102 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001906/0.4617, allocations: 1.129 MB / 1.357 GB, free: 0.8984 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.4617, allocations: 0 / 1.357 GB, free: 0.8984 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002674/0.4619, allocations: 55.89 kB / 1.357 GB, free: 0.8438 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004141/0.4624, allocations: 144.4 kB / 1.357 GB, free: 0.6875 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/0.4624, allocations: 8 kB / 1.358 GB, free: 0.6797 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00365/0.466, allocations: 3.953 MB / 1.361 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/0.466, allocations: 7.969 kB / 1.361 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.4671, allocations: 0.7001 MB / 1.362 GB, free: 11.65 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002502/0.4674, allocations: 91.83 kB / 1.362 GB, free: 11.56 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.129e-05/0.4674, allocations: 11.94 kB / 1.362 GB, free: 11.55 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/0.4677, allocations: 19.97 kB / 1.362 GB, free: 11.53 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.264e-05/0.4678, allocations: 35.88 kB / 1.362 GB, free: 11.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.388e-05/0.4678, allocations: 12 kB / 1.362 GB, free: 11.48 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003922/0.4682, allocations: 314.8 kB / 1.363 GB, free: 11.18 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4682, allocations: 0 / 1.363 GB, free: 11.18 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006632/0.4689, allocations: 140 kB / 1.363 GB, free: 11.04 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * 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 Backend phase and start with SimCode phase: time 0.0001609/0.469, allocations: 104.9 kB / 1.363 GB, free: 10.93 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001447/0.4705, allocations: 0.8552 MB / 1.364 GB, free: 10.04 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.4705, allocations: 0 / 1.364 GB, free: 10.04 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008477/0.4713, allocations: 0.58 MB / 1.364 GB, free: 9.41 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009745/0.4723, allocations: 198.7 kB / 1.364 GB, free: 9.219 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.4741, allocations: 1.103 MB / 1.365 GB, free: 8.059 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.4744, allocations: 311.9 kB / 1.366 GB, free: 7.727 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.4745, allocations: 43.44 kB / 1.366 GB, free: 7.684 MB / 1.061 GB Notification: Performance of SimCode: time 5.61e-07/0.4745, allocations: 0 / 1.366 GB, free: 7.684 MB / 1.061 GB Notification: Performance of Templates: time 0.02386/0.4984, allocations: 18.42 MB / 1.384 GB, free: 5.301 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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: 14.506707521621138]