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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001171/0.001171, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009673/0.009674, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.427/1.427, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.778/2.778, allocations: 462.6 MB / 0.7364 GB, free: 312 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003773/0.0003777, allocations: 9.594 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3329, allocations: 159.6 MB / 1.059 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01771/0.3507, allocations: 15.39 MB / 1.074 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.007978/0.3587, allocations: 4.766 MB / 1.078 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001203/0.36, allocations: 55.69 kB / 1.078 GB, free: 1.215 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007024/0.3607, allocations: 250.1 kB / 1.079 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001798/0.3625, allocations: 0.6963 MB / 1.079 GB, free: 276 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001714/0.3642, allocations: 0.6627 MB / 1.08 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.005186/0.3694, allocations: 5.264 MB / 1.085 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008788/0.3782, allocations: 5.821 MB / 1.091 GB, free: 4.426 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002433/0.3807, allocations: 1.105 MB / 1.092 GB, free: 3.316 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002392/0.3831, allocations: 1.507 MB / 1.093 GB, free: 1.805 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002738/0.3834, allocations: 144 kB / 1.093 GB, free: 1.664 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001446/0.3848, allocations: 0.7409 MB / 1.094 GB, free: 0.9219 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.00116/0.386, allocations: 1.06 MB / 1.095 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001481/0.3875, allocations: 1.191 MB / 1.096 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0052/0.3927, allocations: 4.887 MB / 1.101 GB, free: 9.754 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.3927, allocations: 0 / 1.101 GB, free: 9.754 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3928, allocations: 0 / 1.101 GB, free: 9.754 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001403/0.3929, allocations: 7.938 kB / 1.101 GB, free: 9.746 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.004979/0.3979, allocations: 2.178 MB / 1.103 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.3979, allocations: 12.03 kB / 1.103 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004259/0.4022, allocations: 0.829 MB / 1.104 GB, free: 6.664 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002966/0.4052, allocations: 1.505 MB / 1.106 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.4054, allocations: 181.1 kB / 1.106 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000522/0.4059, allocations: 232.4 kB / 1.106 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00766/0.4136, allocations: 4.165 MB / 1.11 GB, free: 412 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.022e-05/0.4137, allocations: 0 / 1.11 GB, free: 412 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002736/0.4139, allocations: 108 kB / 1.11 GB, free: 304 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002036/0.4142, allocations: 168.5 kB / 1.11 GB, free: 132 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006731/0.4209, allocations: 3.644 MB / 1.114 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02118/0.4421, allocations: 16.55 MB / 1.13 GB, free: 10.49 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003399/0.4456, allocations: 2.299 MB / 1.132 GB, free: 7.984 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009067/0.4465, allocations: 0.5858 MB / 1.133 GB, free: 7.391 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001485/0.4467, allocations: 89.67 kB / 1.133 GB, free: 7.285 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.904e-05/0.4467, allocations: 47.11 kB / 1.133 GB, free: 7.23 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=72): time 3.347e-06/0.4467, allocations: 4 kB / 1.133 GB, free: 7.227 MB / 0.8887 GB Notification: Performance of matching and sorting (n=76): time 0.005676/0.4524, allocations: 3.448 MB / 1.136 GB, free: 3.676 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.413e-05/0.4525, allocations: 115.4 kB / 1.136 GB, free: 3.539 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/0.4538, allocations: 1.014 MB / 1.137 GB, free: 2.5 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.098e-05/0.4539, allocations: 37.7 kB / 1.138 GB, free: 2.457 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006975/0.4546, allocations: 1.103 MB / 1.139 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000239/0.4549, allocations: 268.2 kB / 1.139 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/0.455, allocations: 117.6 kB / 1.139 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001987/0.4552, allocations: 410.7 kB / 1.139 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009411/0.4562, allocations: 0.6285 MB / 1.14 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001294/0.4575, allocations: 1.189 MB / 1.141 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002311/0.4598, allocations: 1.88 MB / 1.143 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/0.4598, allocations: 8 kB / 1.143 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00319/0.463, allocations: 2.023 MB / 1.145 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.317e-05/0.4631, allocations: 23.98 kB / 1.145 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.434e-05/0.4631, allocations: 16 kB / 1.145 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004137/0.4635, allocations: 163.3 kB / 1.145 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.4647, allocations: 347.4 kB / 1.145 GB, free: 9.707 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.92e-05/0.4648, allocations: 39.86 kB / 1.145 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/0.4658, allocations: 135.7 kB / 1.146 GB, free: 9.535 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.4659, allocations: 75.98 kB / 1.146 GB, free: 9.461 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.00166/0.4676, allocations: 0.9786 MB / 1.147 GB, free: 8.473 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002608/0.4679, allocations: 110.7 kB / 1.147 GB, free: 8.363 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002341/0.4702, allocations: 1.234 MB / 1.148 GB, free: 7.113 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.837e-05/0.4703, allocations: 20.02 kB / 1.148 GB, free: 7.094 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/0.4703, allocations: 4 kB / 1.148 GB, free: 7.09 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.4703, allocations: 3.984 kB / 1.148 GB, free: 7.086 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005809/0.4761, allocations: 3.819 MB / 1.152 GB, free: 3.117 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.636e-05/0.4762, allocations: 4 kB / 1.152 GB, free: 3.113 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006763/0.4769, allocations: 159.8 kB / 1.152 GB, free: 2.957 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003809/0.4773, allocations: 143.5 kB / 1.152 GB, free: 2.805 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-05/0.4773, allocations: 20 kB / 1.152 GB, free: 2.785 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.149e-05/0.4773, allocations: 7.938 kB / 1.152 GB, free: 2.777 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.371e-06/0.4774, allocations: 4 kB / 1.152 GB, free: 2.773 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002422/0.4798, allocations: 1.472 MB / 1.153 GB, free: 1.25 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000577/0.4804, allocations: 287.8 kB / 1.154 GB, free: 0.9492 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.4805, allocations: 24 kB / 1.154 GB, free: 0.9258 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006242/0.4811, allocations: 75.89 kB / 1.154 GB, free: 0.8516 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.4813, allocations: 60.36 kB / 1.154 GB, free: 0.793 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-05/0.4813, allocations: 24 kB / 1.154 GB, free: 0.7695 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000957/0.4823, allocations: 0.6914 MB / 1.155 GB, free: 68 kB / 0.9044 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4823, allocations: 0 / 1.155 GB, free: 68 kB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001439/0.4837, allocations: 392 kB / 1.155 GB, free: 15.68 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.0002077/0.484, allocations: 127.1 kB / 1.155 GB, free: 15.55 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002423/0.4864, allocations: 1.722 MB / 1.157 GB, free: 13.74 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.4864, allocations: 0 / 1.157 GB, free: 13.74 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.4874, allocations: 0.867 MB / 1.158 GB, free: 12.79 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001748/0.4892, allocations: 255.6 kB / 1.158 GB, free: 12.54 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007135/0.4963, allocations: 4.848 MB / 1.163 GB, free: 7.629 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001824/0.4982, allocations: 1.924 MB / 1.164 GB, free: 5.668 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001319/0.4995, allocations: 449.6 kB / 1.165 GB, free: 5.227 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002193/0.4998, allocations: 83.44 kB / 1.165 GB, free: 5.148 MB / 0.92 GB Notification: Performance of SimCode: time 1.503e-06/0.4998, allocations: 0 / 1.165 GB, free: 5.148 MB / 0.92 GB Notification: Performance of Templates: time 0.02872/0.5285, allocations: 12.7 MB / 1.177 GB, free: 8.57 MB / 0.9356 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/jenkins/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