Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001534/0.001534, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002053/0.002053, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.458/1.458, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.842/2.842, allocations: 472.6 MB / 0.7451 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 66.75 kB / 0.9121 GB, free: 33.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3425, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.01271/0.3553, allocations: 4.911 MB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.008209/0.3636, allocations: 2.483 MB / 1.075 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008399/0.3644, allocations: 23.81 kB / 1.075 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002009/0.3665, allocations: 408.8 kB / 1.076 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.002136/0.3687, allocations: 445.6 kB / 1.076 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001843/0.3706, allocations: 402.8 kB / 1.077 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001905/0.3725, allocations: 0.9212 MB / 1.078 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009306/0.3734, allocations: 354.5 kB / 1.078 GB, free: 500 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008427/0.3743, allocations: 342.7 kB / 1.078 GB, free: 156 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008741/0.3752, allocations: 346.4 kB / 1.079 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001464/0.3754, allocations: 40 kB / 1.079 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001359/0.3767, allocations: 403.1 kB / 1.079 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003413/0.3771, allocations: 175.5 kB / 1.079 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0005672/0.3777, allocations: 322.2 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001751/0.3795, allocations: 0.8762 MB / 1.08 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.3795, allocations: 0 / 1.08 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of FrontEnd: time 6.011e-06/0.3795, allocations: 0 / 1.08 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.947e-05/0.3795, allocations: 7.938 kB / 1.08 GB, free: 14 MB / 0.8419 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.002408/0.382, allocations: 0.9424 MB / 1.081 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.382, allocations: 12.03 kB / 1.081 GB, free: 13 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002641/0.3847, allocations: 203.9 kB / 1.081 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/0.386, allocations: 0.4943 MB / 1.082 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.728e-05/0.3861, allocations: 33.36 kB / 1.082 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.3862, allocations: 44.38 kB / 1.082 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/0.3881, allocations: 0.8523 MB / 1.083 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.025e-05/0.3882, allocations: 7.938 kB / 1.083 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-05/0.3883, allocations: 23.98 kB / 1.083 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001731/0.3885, allocations: 64.95 kB / 1.083 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/0.3902, allocations: 0.5695 MB / 1.083 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008201/0.3984, allocations: 5.654 MB / 1.089 GB, free: 4.496 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.3996, allocations: 458.3 kB / 1.089 GB, free: 4.039 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005153/0.4002, allocations: 225.3 kB / 1.09 GB, free: 3.816 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.809e-05/0.4003, allocations: 0 / 1.09 GB, free: 3.816 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.905e-05/0.4003, allocations: 38.56 kB / 1.09 GB, free: 3.77 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=32): time 2.965e-06/0.4003, allocations: 3.938 kB / 1.09 GB, free: 3.766 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33): time 0.004555/0.4049, allocations: 1.511 MB / 1.091 GB, free: 2.137 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/0.405, allocations: 59.69 kB / 1.091 GB, free: 2.066 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009506/0.4059, allocations: 0.499 MB / 1.092 GB, free: 1.555 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.539e-05/0.406, allocations: 29.7 kB / 1.092 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003924/0.4064, allocations: 366.8 kB / 1.092 GB, free: 1.156 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001826/0.4066, allocations: 122.3 kB / 1.092 GB, free: 1.035 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002554/0.4069, allocations: 110.2 kB / 1.092 GB, free: 0.918 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0003137/0.4072, allocations: 366.8 kB / 1.093 GB, free: 0.5508 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005873/0.4078, allocations: 193.2 kB / 1.093 GB, free: 372 kB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008133/0.4087, allocations: 451.3 kB / 1.093 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/0.41, allocations: 0.6835 MB / 1.094 GB, free: 15 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/0.4101, allocations: 4 kB / 1.094 GB, free: 15 MB / 0.8575 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002167/0.4123, allocations: 0.8131 MB / 1.095 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.4123, allocations: 8 kB / 1.095 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.4123, allocations: 8 kB / 1.095 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00071/0.413, allocations: 156.9 kB / 1.095 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007894/0.4138, allocations: 131.7 kB / 1.095 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006042/0.4199, allocations: 4.344 MB / 1.099 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008926/0.4208, allocations: 31.97 kB / 1.099 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.919e-05/0.4209, allocations: 31.94 kB / 1.099 GB, free: 9.027 MB / 0.8575 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.0004785/0.4214, allocations: 215.3 kB / 1.1 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.4216, allocations: 63.25 kB / 1.1 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/0.4232, allocations: 0.597 MB / 1.1 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.407e-06/0.4232, allocations: 4 kB / 1.1 GB, free: 8.125 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.4233, allocations: 4 kB / 1.1 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.4233, allocations: 0 / 1.1 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0031/0.4264, allocations: 1.27 MB / 1.101 GB, free: 6.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/0.4264, allocations: 4 kB / 1.101 GB, free: 6.754 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004507/0.4269, allocations: 51.89 kB / 1.101 GB, free: 6.703 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007615/0.4277, allocations: 148.3 kB / 1.102 GB, free: 6.543 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.556e-05/0.4277, allocations: 11.94 kB / 1.102 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005875/0.4336, allocations: 4.332 MB / 1.106 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/0.4337, allocations: 4 kB / 1.106 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/0.4354, allocations: 0.7042 MB / 1.107 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003485/0.4358, allocations: 172.3 kB / 1.107 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.4359, allocations: 15.98 kB / 1.107 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000449/0.4364, allocations: 19.97 kB / 1.107 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.4365, allocations: 39.84 kB / 1.107 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-05/0.4366, allocations: 8 kB / 1.107 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0006699/0.4373, allocations: 338.8 kB / 1.107 GB, free: 424 kB / 0.8575 GB Notification: Performance of sort global known variables: time 7.42e-07/0.4373, allocations: 0 / 1.107 GB, free: 424 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001187/0.4385, allocations: 140 kB / 1.107 GB, free: 284 kB / 0.8575 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.0002527/0.4387, allocations: 123.7 kB / 1.107 GB, free: 148 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002576/0.4413, allocations: 1.08 MB / 1.108 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.4413, allocations: 0 / 1.108 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001311/0.4427, allocations: 0.7397 MB / 1.109 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001652/0.4443, allocations: 207.6 kB / 1.109 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002612/0.447, allocations: 1.052 MB / 1.11 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006681/0.4477, allocations: 0.9059 MB / 1.111 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0006228/0.4483, allocations: 113.3 kB / 1.111 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.4485, allocations: 43.42 kB / 1.111 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of SimCode: time 8.31e-07/0.4485, allocations: 3.938 kB / 1.111 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of Templates: time 0.02433/0.4728, allocations: 7.606 MB / 1.119 GB, free: 4.258 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches