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.001396/0.001396, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001708/0.001707, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.927/2.927, allocations: 462.6 MB / 0.736 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003627, allocations: 13.09 kB / 0.9021 GB, free: 36.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.378, allocations: 159.6 MB / 1.058 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01941/0.3974, allocations: 14.53 MB / 1.072 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.009659/0.4072, allocations: 4.557 MB / 1.077 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00138/0.4086, allocations: 59.62 kB / 1.077 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0008536/0.4094, allocations: 250 kB / 1.077 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001886/0.4113, allocations: 0.5831 MB / 1.078 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001957/0.4133, allocations: 0.4932 MB / 1.078 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.006997/0.4203, allocations: 4.113 MB / 1.082 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009997/0.4303, allocations: 4.941 MB / 1.087 GB, free: 7.688 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00301/0.4334, allocations: 1.109 MB / 1.088 GB, free: 6.574 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002389/0.4358, allocations: 1.476 MB / 1.089 GB, free: 5.094 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003438/0.4361, allocations: 147.9 kB / 1.09 GB, free: 4.949 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001271/0.4374, allocations: 395.6 kB / 1.09 GB, free: 4.562 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001099/0.4385, allocations: 1.068 MB / 1.091 GB, free: 3.492 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0005565/0.4391, allocations: 492.5 kB / 1.091 GB, free: 3.004 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.004445/0.4435, allocations: 4.27 MB / 1.096 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.4436, allocations: 0 / 1.096 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.475e-06/0.4436, allocations: 0 / 1.096 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.041e-05/0.4437, allocations: 0 / 1.096 GB, free: 14.72 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.00391/0.4476, allocations: 2.194 MB / 1.098 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.4476, allocations: 8.031 kB / 1.098 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003676/0.4513, allocations: 0.8359 MB / 1.099 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002472/0.4538, allocations: 1.481 MB / 1.1 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001318/0.4539, allocations: 176.8 kB / 1.1 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003701/0.4543, allocations: 232 kB / 1.1 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007182/0.4615, allocations: 4.142 MB / 1.104 GB, free: 5.41 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.935e-05/0.4616, allocations: 7.938 kB / 1.104 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002421/0.4618, allocations: 99.98 kB / 1.105 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001869/0.462, allocations: 164.5 kB / 1.105 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005949/0.468, allocations: 3.628 MB / 1.108 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01831/0.4863, allocations: 16.55 MB / 1.124 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003119/0.4894, allocations: 2.3 MB / 1.127 GB, free: 13.01 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008061/0.4903, allocations: 0.5741 MB / 1.127 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001281/0.4904, allocations: 97.66 kB / 1.127 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.4905, allocations: 39.06 kB / 1.127 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=72): time 2.836e-06/0.4905, allocations: 4 kB / 1.127 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of matching and sorting (n=76): time 0.005546/0.496, allocations: 3.444 MB / 1.131 GB, free: 8.719 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.838e-05/0.4961, allocations: 119.4 kB / 1.131 GB, free: 8.578 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.4974, allocations: 1.01 MB / 1.132 GB, free: 7.543 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.791e-05/0.4975, allocations: 37.7 kB / 1.132 GB, free: 7.5 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007504/0.4982, allocations: 1.099 MB / 1.133 GB, free: 6.383 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002223/0.4984, allocations: 280.2 kB / 1.133 GB, free: 6.105 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.528e-05/0.4985, allocations: 24 kB / 1.133 GB, free: 6.082 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001947/0.4987, allocations: 414.7 kB / 1.134 GB, free: 5.668 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008766/0.4996, allocations: 0.6128 MB / 1.134 GB, free: 5.055 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001296/0.5009, allocations: 1.185 MB / 1.135 GB, free: 3.602 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.5021, allocations: 0.854 MB / 1.136 GB, free: 2.746 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/0.5021, allocations: 4 kB / 1.136 GB, free: 2.742 MB / 0.8887 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003014/0.5051, allocations: 2.022 MB / 1.138 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.241e-05/0.5052, allocations: 14.03 kB / 1.138 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.463e-05/0.5052, allocations: 23.98 kB / 1.138 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004106/0.5056, allocations: 167.9 kB / 1.138 GB, free: 500 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.5067, allocations: 351.4 kB / 1.139 GB, free: 148 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.112e-05/0.5068, allocations: 43.8 kB / 1.139 GB, free: 104 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009469/0.5077, allocations: 143.6 kB / 1.139 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.5078, allocations: 68 kB / 1.139 GB, free: 15.89 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00179/0.5096, allocations: 0.9732 MB / 1.14 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002386/0.5099, allocations: 110.7 kB / 1.14 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002095/0.512, allocations: 1.241 MB / 1.141 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.512, allocations: 8 kB / 1.141 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.512, allocations: 4 kB / 1.141 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-06/0.512, allocations: 3.984 kB / 1.141 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005438/0.5175, allocations: 3.819 MB / 1.145 GB, free: 9.555 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.313e-06/0.5175, allocations: 4 kB / 1.145 GB, free: 9.551 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005704/0.5181, allocations: 159.8 kB / 1.145 GB, free: 9.395 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000334/0.5184, allocations: 139.5 kB / 1.145 GB, free: 9.246 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.688e-05/0.5185, allocations: 24 kB / 1.145 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.5185, allocations: 4 kB / 1.145 GB, free: 9.219 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.5185, allocations: 4 kB / 1.145 GB, free: 9.215 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001863/0.5204, allocations: 1.472 MB / 1.147 GB, free: 7.688 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004634/0.5208, allocations: 287.7 kB / 1.147 GB, free: 7.387 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.521, allocations: 20 kB / 1.147 GB, free: 7.367 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005219/0.5215, allocations: 75.86 kB / 1.147 GB, free: 7.293 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.5216, allocations: 56.42 kB / 1.147 GB, free: 7.238 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-05/0.5217, allocations: 24.09 kB / 1.147 GB, free: 7.215 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0009609/0.5226, allocations: 0.6874 MB / 1.148 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5227, allocations: 0 / 1.148 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001514/0.5242, allocations: 388 kB / 1.148 GB, free: 6.137 MB / 0.9044 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002328/0.5244, allocations: 135.1 kB / 1.148 GB, free: 5.992 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002322/0.5267, allocations: 1.714 MB / 1.15 GB, free: 4.191 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5268, allocations: 0 / 1.15 GB, free: 4.191 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009463/0.5277, allocations: 0.8637 MB / 1.151 GB, free: 3.242 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.529, allocations: 245.9 kB / 1.151 GB, free: 3.004 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00796/0.537, allocations: 4.626 MB / 1.156 GB, free: 14.31 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002057/0.5391, allocations: 1.92 MB / 1.157 GB, free: 12.36 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001258/0.5403, allocations: 453.6 kB / 1.158 GB, free: 11.91 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002101/0.5405, allocations: 83.42 kB / 1.158 GB, free: 11.83 MB / 0.92 GB Notification: Performance of SimCode: time 9.82e-07/0.5405, allocations: 0 / 1.158 GB, free: 11.83 MB / 0.92 GB Notification: Performance of Templates: time 0.02268/0.5632, allocations: 12.42 MB / 1.17 GB, free: 15.54 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