Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009827/0.009827, allocations: 97.62 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001857/0.001857, allocations: 197.3 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.727/2.727, allocations: 437 MB / 0.7105 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001802/0.001802, allocations: 64.09 kB / 1.019 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4006/0.4024, allocations: 151.6 MB / 1.167 GB, free: 6.867 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.007119/0.4096, allocations: 4.902 MB / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004719/0.4144, allocations: 2.483 MB / 1.174 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006657/0.4151, allocations: 23.81 kB / 1.174 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001433/0.4165, allocations: 413.5 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001455/0.418, allocations: 473.6 kB / 1.175 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.4191, allocations: 395.2 kB / 1.175 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00141/0.4206, allocations: 0.9212 MB / 1.176 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007176/0.4213, allocations: 362.4 kB / 1.176 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006881/0.422, allocations: 342.7 kB / 1.177 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006951/0.4227, allocations: 346.5 kB / 1.177 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.4228, allocations: 36 kB / 1.177 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009642/0.4238, allocations: 407.1 kB / 1.177 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002628/0.4241, allocations: 187.4 kB / 1.178 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004913/0.4246, allocations: 318.2 kB / 1.178 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001444/0.426, allocations: 0.8947 MB / 1.179 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.426, allocations: 0 / 1.179 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.174e-06/0.426, allocations: 0 / 1.179 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.916e-05/0.4261, allocations: 0 / 1.179 GB, free: 10.37 MB / 0.9356 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.002111/0.4282, allocations: 0.9727 MB / 1.18 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.4283, allocations: 11.98 kB / 1.18 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001367/0.4296, allocations: 216.1 kB / 1.18 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009635/0.4306, allocations: 0.5495 MB / 1.18 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.412e-05/0.4306, allocations: 29.38 kB / 1.18 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.933e-05/0.4308, allocations: 48.36 kB / 1.181 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.432, allocations: 0.8522 MB / 1.181 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.547e-05/0.4321, allocations: 7.938 kB / 1.181 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.37e-05/0.4322, allocations: 23.98 kB / 1.181 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001052/0.4323, allocations: 72.95 kB / 1.181 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009041/0.4332, allocations: 0.5617 MB / 1.182 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004784/0.438, allocations: 5.651 MB / 1.188 GB, free: 0.7695 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006817/0.4387, allocations: 462.6 kB / 1.188 GB, free: 316 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003156/0.439, allocations: 232.7 kB / 1.188 GB, free: 80 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.439, allocations: 4 kB / 1.188 GB, free: 76 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.4391, allocations: 34.56 kB / 1.188 GB, free: 32 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=32): time 2.384e-06/0.4391, allocations: 3.938 kB / 1.188 GB, free: 28 kB / 0.9356 GB Notification: Performance of matching and sorting (n=33): time 0.002619/0.4417, allocations: 1.506 MB / 1.19 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.4418, allocations: 63.69 kB / 1.19 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000549/0.4423, allocations: 0.4991 MB / 1.19 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.4424, allocations: 29.7 kB / 1.19 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002467/0.4426, allocations: 367.7 kB / 1.191 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.4427, allocations: 127 kB / 1.191 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001773/0.4429, allocations: 110.2 kB / 1.191 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.4431, allocations: 366.8 kB / 1.191 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00029/0.4434, allocations: 197.2 kB / 1.191 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004356/0.4438, allocations: 447.3 kB / 1.192 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008314/0.4447, allocations: 0.6954 MB / 1.192 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.4447, allocations: 4 kB / 1.192 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001215/0.4459, allocations: 0.8093 MB / 1.193 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.4459, allocations: 8 kB / 1.193 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.446, allocations: 8 kB / 1.193 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004727/0.4464, allocations: 156.8 kB / 1.193 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004272/0.4469, allocations: 119.8 kB / 1.194 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003326/0.4502, allocations: 4.348 MB / 1.198 GB, free: 5.355 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000398/0.4506, allocations: 35.97 kB / 1.198 GB, free: 5.32 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.889e-05/0.4507, allocations: 32.16 kB / 1.198 GB, free: 5.289 MB / 0.9512 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.0003673/0.451, allocations: 216.1 kB / 1.198 GB, free: 5.07 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.807e-05/0.4511, allocations: 63.62 kB / 1.198 GB, free: 5.008 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009944/0.4521, allocations: 0.6088 MB / 1.199 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.4522, allocations: 4 kB / 1.199 GB, free: 4.371 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4522, allocations: 4 kB / 1.199 GB, free: 4.367 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4522, allocations: 0 / 1.199 GB, free: 4.367 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001827/0.454, allocations: 1.263 MB / 1.2 GB, free: 3.012 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.454, allocations: 8 kB / 1.2 GB, free: 3.004 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002451/0.4543, allocations: 51.89 kB / 1.2 GB, free: 2.953 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003927/0.4547, allocations: 148.4 kB / 1.2 GB, free: 2.793 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.4547, allocations: 11.94 kB / 1.2 GB, free: 2.781 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003245/0.458, allocations: 4.333 MB / 1.204 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.458, allocations: 4.031 kB / 1.204 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009375/0.4589, allocations: 0.7196 MB / 1.205 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002292/0.4592, allocations: 168.7 kB / 1.205 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.994e-05/0.4592, allocations: 8 kB / 1.205 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.4595, allocations: 23.97 kB / 1.205 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.277e-05/0.4596, allocations: 43.83 kB / 1.205 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.4596, allocations: 11.94 kB / 1.205 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003628/0.46, allocations: 338.8 kB / 1.206 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.46, allocations: 4 kB / 1.206 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006645/0.4606, allocations: 143.9 kB / 1.206 GB, free: 12.51 MB / 0.9669 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.0001474/0.4608, allocations: 111.2 kB / 1.206 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001397/0.4622, allocations: 1.037 MB / 1.207 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/0.4622, allocations: 8.125 kB / 1.207 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0008137/0.463, allocations: 0.7301 MB / 1.208 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009193/0.464, allocations: 209.4 kB / 1.208 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.4655, allocations: 1.054 MB / 1.209 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004703/0.466, allocations: 0.9059 MB / 1.21 GB, free: 8.215 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002892/0.4663, allocations: 121.3 kB / 1.21 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.954e-05/0.4664, allocations: 39.44 kB / 1.21 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of SimCode: time 3.7e-07/0.4664, allocations: 0 / 1.21 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of Templates: time 0.01317/0.4796, allocations: 7.719 MB / 1.217 GB, free: 440 kB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches