Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009826/0.0009826, allocations: 96.14 kB / 16.03 MB, free: 68 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.001383/0.001383, allocations: 185.1 kB / 16.92 MB, free: 6.75 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.419/1.419, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.675/2.675, allocations: 462.7 MB / 0.7371 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003783/0.0003784, allocations: 11.91 kB / 0.9034 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.2994, allocations: 159.6 MB / 1.059 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01713/0.3166, allocations: 15.38 MB / 1.074 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.008537/0.3252, allocations: 4.766 MB / 1.079 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001516/0.3268, allocations: 59.69 kB / 1.079 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001034/0.3278, allocations: 250.1 kB / 1.079 GB, free: 496 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.002313/0.3302, allocations: 0.6963 MB / 1.08 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002309/0.3325, allocations: 0.663 MB / 1.081 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.005635/0.3382, allocations: 5.268 MB / 1.086 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01057/0.3488, allocations: 5.824 MB / 1.091 GB, free: 3.938 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002613/0.3514, allocations: 1.097 MB / 1.093 GB, free: 2.836 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002873/0.3543, allocations: 1.51 MB / 1.094 GB, free: 1.32 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0007432/0.3551, allocations: 144 kB / 1.094 GB, free: 1.18 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002107/0.3573, allocations: 0.737 MB / 1.095 GB, free: 452 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001849/0.3591, allocations: 1.064 MB / 1.096 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002743/0.3619, allocations: 1.191 MB / 1.097 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.005465/0.3674, allocations: 4.282 MB / 1.101 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.3674, allocations: 0 / 1.101 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.234e-06/0.3675, allocations: 0 / 1.101 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001668/0.3676, allocations: 0 / 1.101 GB, free: 9.879 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.005495/0.3731, allocations: 2.175 MB / 1.103 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.3732, allocations: 15.97 kB / 1.103 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004683/0.3779, allocations: 0.8368 MB / 1.104 GB, free: 6.789 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003274/0.3812, allocations: 1.501 MB / 1.106 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002051/0.3814, allocations: 177.1 kB / 1.106 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009828/0.3824, allocations: 232.4 kB / 1.106 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009876/0.3923, allocations: 4.161 MB / 1.11 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-05/0.3925, allocations: 3.984 kB / 1.11 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007251/0.3932, allocations: 104 kB / 1.11 GB, free: 444 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000237/0.3935, allocations: 180.4 kB / 1.11 GB, free: 260 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007706/0.4012, allocations: 3.64 MB / 1.114 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0221/0.4233, allocations: 16.55 MB / 1.13 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003536/0.4269, allocations: 2.305 MB / 1.132 GB, free: 8.102 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009984/0.4279, allocations: 0.5858 MB / 1.133 GB, free: 7.508 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001853/0.4282, allocations: 89.67 kB / 1.133 GB, free: 7.402 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.4282, allocations: 43.11 kB / 1.133 GB, free: 7.352 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=72): time 3.366e-06/0.4282, allocations: 3.938 kB / 1.133 GB, free: 7.348 MB / 0.8887 GB Notification: Performance of matching and sorting (n=76): time 0.006445/0.4347, allocations: 3.448 MB / 1.136 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.911e-05/0.4348, allocations: 115.5 kB / 1.137 GB, free: 3.656 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001546/0.4363, allocations: 1.018 MB / 1.138 GB, free: 2.613 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 9.871e-05/0.4365, allocations: 33.7 kB / 1.138 GB, free: 2.574 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007771/0.4372, allocations: 1.107 MB / 1.139 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002845/0.4375, allocations: 272.2 kB / 1.139 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/0.4378, allocations: 113.6 kB / 1.139 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002155/0.438, allocations: 410.7 kB / 1.139 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.439, allocations: 0.6285 MB / 1.14 GB, free: 24 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001399/0.4404, allocations: 1.189 MB / 1.141 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002581/0.443, allocations: 1.88 MB / 1.143 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.256e-05/0.4431, allocations: 4 kB / 1.143 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00378/0.4469, allocations: 2.03 MB / 1.145 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.595e-05/0.447, allocations: 16 kB / 1.145 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.603e-05/0.447, allocations: 16.62 kB / 1.145 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004712/0.4475, allocations: 171.3 kB / 1.145 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.4488, allocations: 343.4 kB / 1.146 GB, free: 9.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-05/0.4488, allocations: 39.86 kB / 1.146 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/0.4501, allocations: 143.6 kB / 1.146 GB, free: 9.641 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000175/0.4502, allocations: 67.98 kB / 1.146 GB, free: 9.574 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001628/0.4519, allocations: 0.9693 MB / 1.147 GB, free: 8.594 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002895/0.4522, allocations: 110.7 kB / 1.147 GB, free: 8.484 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002356/0.4545, allocations: 1.245 MB / 1.148 GB, free: 7.219 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.4546, allocations: 11.94 kB / 1.148 GB, free: 7.207 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/0.4546, allocations: 4 kB / 1.148 GB, free: 7.203 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.4546, allocations: 3.984 kB / 1.148 GB, free: 7.199 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006821/0.4615, allocations: 3.815 MB / 1.152 GB, free: 3.238 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/0.4615, allocations: 4 kB / 1.152 GB, free: 3.234 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006674/0.4622, allocations: 155.8 kB / 1.152 GB, free: 3.082 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003776/0.4626, allocations: 151.5 kB / 1.152 GB, free: 2.922 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.477e-05/0.4627, allocations: 16 kB / 1.152 GB, free: 2.906 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.235e-05/0.4627, allocations: 7.938 kB / 1.152 GB, free: 2.898 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.4627, allocations: 4.094 kB / 1.152 GB, free: 2.895 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00214/0.4648, allocations: 1.48 MB / 1.154 GB, free: 1.363 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006648/0.4655, allocations: 287.8 kB / 1.154 GB, free: 1.062 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002759/0.4658, allocations: 16 kB / 1.154 GB, free: 1.047 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008324/0.4667, allocations: 75.89 kB / 1.154 GB, free: 0.9727 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/0.4668, allocations: 60.36 kB / 1.154 GB, free: 0.9141 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.135e-05/0.4669, allocations: 28 kB / 1.154 GB, free: 0.8867 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001139/0.468, allocations: 0.6914 MB / 1.155 GB, free: 188 kB / 0.9044 GB Notification: Performance of sort global known variables: time 4.91e-07/0.4681, allocations: 0 / 1.155 GB, free: 188 kB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001635/0.4697, allocations: 388 kB / 1.155 GB, free: 15.8 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000249/0.47, allocations: 133 kB / 1.155 GB, free: 15.67 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002632/0.4726, allocations: 1.718 MB / 1.157 GB, free: 13.86 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 7.914e-06/0.4727, allocations: 0 / 1.157 GB, free: 13.86 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001185/0.4738, allocations: 0.8719 MB / 1.158 GB, free: 12.9 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002122/0.476, allocations: 248.7 kB / 1.158 GB, free: 12.66 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008722/0.4847, allocations: 5.211 MB / 1.163 GB, free: 7.379 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002527/0.4873, allocations: 1.963 MB / 1.165 GB, free: 5.379 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003998/0.4878, allocations: 99.41 kB / 1.165 GB, free: 5.285 MB / 0.92 GB Notification: Performance of SimCode: time 1.523e-06/0.4878, allocations: 0 / 1.165 GB, free: 5.285 MB / 0.92 GB Notification: Performance of Templates: time 0.0823/0.5701, allocations: 73.04 MB / 1.236 GB, free: 12.23 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches