Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V.1.|sen.V.2.|sen.V.3.|sen_N.V.1.|sen_N.V.2.|sen_N.V.3.|sen.theta.1.|sen.theta.2.|sen.theta.3.|sen_N.theta.1.|sen_N.theta.2.|sen_N.theta.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V.1.|sen.V.2.|sen.V.3.|sen_N.V.1.|sen_N.V.2.|sen_N.V.3.|sen.theta.1.|sen.theta.2.|sen.theta.3.|sen_N.theta.1.|sen_N.theta.2.|sen_N.theta.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001177, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.00139/0.00139, allocations: 172.7 kB / 15.95 MB, free: 208 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.48/1.48, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.837/2.837, allocations: 462.6 MB / 0.736 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003986/0.0003987, allocations: 11.06 kB / 0.9021 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3531, allocations: 159.6 MB / 1.058 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01792/0.371, allocations: 15.14 MB / 1.073 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01033/0.3814, allocations: 5.929 MB / 1.079 GB, free: 176 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001473/0.3829, allocations: 39.88 kB / 1.079 GB, free: 136 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0008069/0.3837, allocations: 313.7 kB / 1.079 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001735/0.3855, allocations: 0.6535 MB / 1.08 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002593/0.3881, allocations: 0.8213 MB / 1.08 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.004702/0.3928, allocations: 4.419 MB / 1.085 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008244/0.401, allocations: 5.264 MB / 1.09 GB, free: 4.598 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002329/0.4034, allocations: 1.156 MB / 1.091 GB, free: 3.438 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002813/0.4062, allocations: 1.675 MB / 1.093 GB, free: 1.758 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.00034/0.4066, allocations: 164 kB / 1.093 GB, free: 1.598 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001141/0.4077, allocations: 387.7 kB / 1.093 GB, free: 1.219 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001239/0.409, allocations: 1.22 MB / 1.094 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005984/0.4096, allocations: 0.5043 MB / 1.095 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004256/0.4138, allocations: 4.633 MB / 1.099 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.4139, allocations: 0 / 1.099 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.625e-06/0.4139, allocations: 4 kB / 1.099 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001361/0.414, allocations: 0 / 1.099 GB, free: 10.84 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: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.004865/0.4189, allocations: 2.219 MB / 1.102 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.4189, allocations: 12.03 kB / 1.102 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003698/0.4226, allocations: 0.7969 MB / 1.102 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002585/0.4252, allocations: 1.391 MB / 1.104 GB, free: 6.312 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001347/0.4254, allocations: 189.2 kB / 1.104 GB, free: 6.125 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004061/0.4258, allocations: 248 kB / 1.104 GB, free: 5.883 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007709/0.4335, allocations: 4.565 MB / 1.109 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.309e-05/0.4336, allocations: 7.938 kB / 1.109 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002792/0.4339, allocations: 112 kB / 1.109 GB, free: 1 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002129/0.4341, allocations: 172.3 kB / 1.109 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006366/0.4405, allocations: 3.818 MB / 1.113 GB, free: 13 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02237/0.4629, allocations: 21.43 MB / 1.133 GB, free: 5.672 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002356/0.4653, allocations: 2.248 MB / 1.136 GB, free: 3.133 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009484/0.4663, allocations: 0.7193 MB / 1.136 GB, free: 2.391 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.306e-05/0.4663, allocations: 19.92 kB / 1.136 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.4664, allocations: 46.52 kB / 1.136 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=62): time 2.294e-06/0.4664, allocations: 0 / 1.136 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of matching and sorting (n=68): time 0.005368/0.4717, allocations: 4.183 MB / 1.141 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.4719, allocations: 251.3 kB / 1.141 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/0.4733, allocations: 1.104 MB / 1.142 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.129e-05/0.4734, allocations: 37.7 kB / 1.142 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000716/0.4741, allocations: 1.184 MB / 1.143 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002133/0.4743, allocations: 256.6 kB / 1.143 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.689e-05/0.4744, allocations: 28 kB / 1.143 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001973/0.4746, allocations: 414.7 kB / 1.144 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009665/0.4756, allocations: 0.6909 MB / 1.144 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001445/0.477, allocations: 1.395 MB / 1.146 GB, free: 8.289 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001295/0.4783, allocations: 0.9789 MB / 1.147 GB, free: 7.312 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.819e-06/0.4783, allocations: 8 kB / 1.147 GB, free: 7.305 MB / 0.9044 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.002993/0.4813, allocations: 2.18 MB / 1.149 GB, free: 5.117 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007007/0.482, allocations: 0.7849 MB / 1.15 GB, free: 4 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.898e-05/0.4821, allocations: 24 kB / 1.15 GB, free: 3.977 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.493e-05/0.4821, allocations: 36.28 kB / 1.15 GB, free: 3.941 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/0.4835, allocations: 427.2 kB / 1.15 GB, free: 3.523 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-05/0.4836, allocations: 51.84 kB / 1.15 GB, free: 3.473 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.4848, allocations: 195.4 kB / 1.15 GB, free: 3.281 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/0.4849, allocations: 87.95 kB / 1.15 GB, free: 3.195 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 7.875e-06/0.4849, allocations: 4 kB / 1.15 GB, free: 3.191 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002415/0.4874, allocations: 1.839 MB / 1.152 GB, free: 1.352 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.375e-05/0.4874, allocations: 24 kB / 1.152 GB, free: 1.328 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.417e-05/0.4874, allocations: 43.94 kB / 1.152 GB, free: 1.285 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.4885, allocations: 391.3 kB / 1.153 GB, free: 0.9023 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-05/0.4886, allocations: 48.42 kB / 1.153 GB, free: 0.8555 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007963/0.4894, allocations: 135.5 kB / 1.153 GB, free: 0.7227 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.4895, allocations: 83.98 kB / 1.153 GB, free: 0.6406 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (192): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001663/0.4912, allocations: 1.133 MB / 1.154 GB, free: 15.5 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002868/0.4915, allocations: 106.7 kB / 1.154 GB, free: 15.39 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00162/0.4931, allocations: 1.093 MB / 1.155 GB, free: 14.29 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.4931, allocations: 12 kB / 1.155 GB, free: 14.28 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.4931, allocations: 0 / 1.155 GB, free: 14.28 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.4932, allocations: 7.984 kB / 1.155 GB, free: 14.27 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0128/0.506, allocations: 10.17 MB / 1.165 GB, free: 3.836 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.855e-05/0.506, allocations: 12 kB / 1.165 GB, free: 3.824 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000628/0.5067, allocations: 191.7 kB / 1.165 GB, free: 3.637 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.198e-05/0.5067, allocations: 31.88 kB / 1.165 GB, free: 3.605 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.056e-05/0.5068, allocations: 32 kB / 1.165 GB, free: 3.574 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-05/0.5068, allocations: 28.48 kB / 1.165 GB, free: 3.547 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.759e-05/0.5068, allocations: 27.83 kB / 1.165 GB, free: 3.52 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002178/0.509, allocations: 2.158 MB / 1.168 GB, free: 1.148 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005582/0.5096, allocations: 335.5 kB / 1.168 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/0.5097, allocations: 39.98 kB / 1.168 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009043/0.5106, allocations: 91.88 kB / 1.168 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.5108, allocations: 103.5 kB / 1.168 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.796e-05/0.5108, allocations: 36 kB / 1.168 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001069/0.5119, allocations: 0.762 MB / 1.169 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.7e-07/0.5119, allocations: 0 / 1.169 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.003122/0.515, allocations: 0.7265 MB / 1.17 GB, free: 15.04 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002451/0.5153, allocations: 150.9 kB / 1.17 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003849/0.5192, allocations: 2.463 MB / 1.172 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-05/0.5192, allocations: 0 / 1.172 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009305/0.5201, allocations: 0.5733 MB / 1.173 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002235/0.5224, allocations: 231.5 kB / 1.173 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008243/0.5306, allocations: 5.301 MB / 1.178 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001923/0.5326, allocations: 2.011 MB / 1.18 GB, free: 4.043 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.002158/0.5348, allocations: 0.8558 MB / 1.181 GB, free: 3.184 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002941/0.5351, allocations: 87.42 kB / 1.181 GB, free: 3.098 MB / 0.9356 GB Notification: Performance of SimCode: time 2.034e-06/0.5351, allocations: 0 / 1.181 GB, free: 3.098 MB / 0.9356 GB Notification: Performance of Templates: time 0.02655/0.5616, allocations: 13.42 MB / 1.194 GB, free: 5.797 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches