Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.00675/0.00675, allocations: 102.1 kB / 15.73 MB, free: 6.062 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.00154/0.00154, allocations: 192.3 kB / 16.67 MB, free: 5.973 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.719/2.719, allocations: 469.8 MB / 0.7425 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 59.91 kB / 1.065 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8441/0.8454, allocations: 159.1 MB / 1.221 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.005886/0.8513, allocations: 4.916 MB / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00396/0.8553, allocations: 2.491 MB / 1.228 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003212/0.8556, allocations: 23.81 kB / 1.228 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.8567, allocations: 405.8 kB / 1.228 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0009003/0.8576, allocations: 469.6 kB / 1.229 GB, free: 9.781 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008149/0.8584, allocations: 398.3 kB / 1.229 GB, free: 9.395 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0009484/0.8594, allocations: 0.9173 MB / 1.23 GB, free: 8.477 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004457/0.8598, allocations: 294.5 kB / 1.23 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003785/0.8602, allocations: 346.6 kB / 1.231 GB, free: 7.836 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004298/0.8606, allocations: 342.5 kB / 1.231 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.824e-05/0.8607, allocations: 36 kB / 1.231 GB, free: 7.465 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005991/0.8613, allocations: 407 kB / 1.231 GB, free: 7.066 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001786/0.8614, allocations: 191.3 kB / 1.231 GB, free: 6.879 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002769/0.8617, allocations: 318.3 kB / 1.232 GB, free: 6.566 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0009176/0.8626, allocations: 0.8992 MB / 1.233 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.8626, allocations: 0 / 1.233 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.032e-06/0.8626, allocations: 0 / 1.233 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.8627, allocations: 0 / 1.233 GB, free: 5.668 MB / 0.9512 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.00132/0.864, allocations: 0.9727 MB / 1.234 GB, free: 4.641 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.864, allocations: 12.03 kB / 1.234 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/0.8652, allocations: 204.2 kB / 1.234 GB, free: 4.43 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007736/0.866, allocations: 0.5495 MB / 1.234 GB, free: 3.844 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.8661, allocations: 33.38 kB / 1.234 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.932e-05/0.8661, allocations: 44.36 kB / 1.234 GB, free: 3.77 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.8671, allocations: 0.8526 MB / 1.235 GB, free: 2.785 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/0.8671, allocations: 15.88 kB / 1.235 GB, free: 2.77 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.9e-05/0.8672, allocations: 23.98 kB / 1.235 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.465e-05/0.8673, allocations: 72.88 kB / 1.235 GB, free: 2.676 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007717/0.8681, allocations: 0.5617 MB / 1.236 GB, free: 2.109 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004227/0.8723, allocations: 5.651 MB / 1.241 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006092/0.8729, allocations: 415.3 kB / 1.242 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000279/0.8732, allocations: 204.7 kB / 1.242 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.8732, allocations: 4.531 kB / 1.242 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.8732, allocations: 42.55 kB / 1.242 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=32): time 2.024e-06/0.8732, allocations: 0 / 1.242 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33): time 0.002492/0.8757, allocations: 1.52 MB / 1.244 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.8758, allocations: 55.69 kB / 1.244 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004899/0.8763, allocations: 0.4991 MB / 1.244 GB, free: 9.184 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.8763, allocations: 29.7 kB / 1.244 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002379/0.8765, allocations: 379.7 kB / 1.245 GB, free: 8.773 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.486e-05/0.8766, allocations: 115 kB / 1.245 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.8768, allocations: 114.2 kB / 1.245 GB, free: 8.543 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.8769, allocations: 366.7 kB / 1.245 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002871/0.8772, allocations: 197.2 kB / 1.245 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004386/0.8776, allocations: 447.3 kB / 1.246 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007814/0.8784, allocations: 0.6913 MB / 1.246 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/0.8784, allocations: 4 kB / 1.246 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001217/0.8796, allocations: 0.8062 MB / 1.247 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.8796, allocations: 12.19 kB / 1.247 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.8797, allocations: 12 kB / 1.247 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004955/0.8802, allocations: 152 kB / 1.247 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000435/0.8806, allocations: 123.8 kB / 1.247 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003438/0.884, allocations: 4.357 MB / 1.252 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004146/0.8844, allocations: 35.97 kB / 1.252 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.768e-05/0.8845, allocations: 28 kB / 1.252 GB, free: 0.6445 MB / 0.9669 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.0002465/0.8847, allocations: 212.5 kB / 1.252 GB, free: 440 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.899e-05/0.8848, allocations: 71.62 kB / 1.252 GB, free: 368 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009999/0.8858, allocations: 0.5969 MB / 1.253 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.8858, allocations: 7.984 kB / 1.253 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.8858, allocations: 0 / 1.253 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.8858, allocations: 7.922 kB / 1.253 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001765/0.8876, allocations: 1.25 MB / 1.254 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.8876, allocations: 4 kB / 1.254 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002471/0.8878, allocations: 55.89 kB / 1.254 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004035/0.8883, allocations: 140.4 kB / 1.254 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.905e-05/0.8883, allocations: 11.94 kB / 1.254 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003114/0.8914, allocations: 4.344 MB / 1.258 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.8914, allocations: 4.031 kB / 1.258 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009672/0.8924, allocations: 0.7085 MB / 1.259 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002148/0.8926, allocations: 176.6 kB / 1.259 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.53e-05/0.8927, allocations: 8 kB / 1.259 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002516/0.8929, allocations: 23.97 kB / 1.259 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.405e-05/0.893, allocations: 31.91 kB / 1.259 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.893, allocations: 12 kB / 1.259 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003489/0.8934, allocations: 342.8 kB / 1.26 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8934, allocations: 7.938 kB / 1.26 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006339/0.894, allocations: 136 kB / 1.26 GB, free: 7.883 MB / 0.9825 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.0001556/0.8941, allocations: 119.2 kB / 1.26 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001327/0.8955, allocations: 1.01 MB / 1.261 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.8955, allocations: 0 / 1.261 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007964/0.8963, allocations: 0.7345 MB / 1.262 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009158/0.8972, allocations: 207.7 kB / 1.262 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.8987, allocations: 1.055 MB / 1.263 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/0.8992, allocations: 0.9098 MB / 1.264 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003002/0.8995, allocations: 113.3 kB / 1.264 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.194e-05/0.8996, allocations: 43.42 kB / 1.264 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of SimCode: time 7.82e-07/0.8996, allocations: 4 kB / 1.264 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of Templates: time 0.0139/0.9135, allocations: 7.749 MB / 1.271 GB, free: 11.79 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches