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.0009848/0.0009847, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.001386/0.001386, allocations: 177.2 kB / 16.27 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.493/1.493, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.814/2.814, allocations: 462.6 MB / 0.7364 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003919/0.0003919, allocations: 11.69 kB / 0.9027 GB, free: 36.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3894, allocations: 159.6 MB / 1.059 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.03257/0.422, allocations: 16.03 MB / 1.074 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01432/0.4364, allocations: 6.228 MB / 1.08 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00269/0.4392, allocations: 43.81 kB / 1.08 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001817/0.441, allocations: 313.7 kB / 1.081 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00398/0.4451, allocations: 0.7862 MB / 1.081 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.005768/0.4509, allocations: 1.076 MB / 1.083 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.008971/0.4599, allocations: 5.785 MB / 1.088 GB, free: 6.645 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01086/0.4708, allocations: 6.147 MB / 1.094 GB, free: 420 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002479/0.4733, allocations: 1.129 MB / 1.095 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003141/0.4765, allocations: 1.717 MB / 1.097 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0007309/0.4772, allocations: 160 kB / 1.097 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001918/0.4792, allocations: 0.7448 MB / 1.098 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001853/0.481, allocations: 1.216 MB / 1.099 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002318/0.4834, allocations: 1.246 MB / 1.1 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.006224/0.4896, allocations: 5.284 MB / 1.105 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.4897, allocations: 0 / 1.105 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.585e-06/0.4897, allocations: 0 / 1.105 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.000194/0.4899, allocations: 0 / 1.105 GB, free: 4.875 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.005668/0.4955, allocations: 2.196 MB / 1.108 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.4956, allocations: 15.97 kB / 1.108 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00437/0.5, allocations: 0.79 MB / 1.108 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003053/0.5031, allocations: 1.407 MB / 1.11 GB, free: 372 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001917/0.5033, allocations: 197.5 kB / 1.11 GB, free: 172 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009566/0.5042, allocations: 252.3 kB / 1.11 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01021/0.5145, allocations: 4.576 MB / 1.115 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001291/0.5146, allocations: 15.92 kB / 1.115 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007544/0.5154, allocations: 108 kB / 1.115 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002677/0.5157, allocations: 176.3 kB / 1.115 GB, free: 10.85 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007645/0.5233, allocations: 3.835 MB / 1.119 GB, free: 7.004 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02466/0.548, allocations: 21.44 MB / 1.14 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002514/0.5506, allocations: 2.256 MB / 1.142 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001049/0.5517, allocations: 0.7195 MB / 1.142 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 5.391e-05/0.5517, allocations: 15.98 kB / 1.142 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.873e-05/0.5518, allocations: 50.48 kB / 1.143 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=62): time 3.386e-06/0.5518, allocations: 0 / 1.143 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of matching and sorting (n=68): time 0.006539/0.5583, allocations: 4.195 MB / 1.147 GB, free: 8.059 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.5585, allocations: 239.3 kB / 1.147 GB, free: 7.77 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.56, allocations: 1.116 MB / 1.148 GB, free: 6.629 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.64e-05/0.56, allocations: 33.7 kB / 1.148 GB, free: 6.59 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007559/0.5608, allocations: 1.191 MB / 1.149 GB, free: 5.379 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003383/0.5612, allocations: 257.1 kB / 1.149 GB, free: 5.125 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002442/0.5614, allocations: 129.6 kB / 1.15 GB, free: 4.992 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.5616, allocations: 341.9 kB / 1.15 GB, free: 4.652 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/0.5626, allocations: 0.7026 MB / 1.151 GB, free: 3.949 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001463/0.5641, allocations: 1.399 MB / 1.152 GB, free: 2.211 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00249/0.5666, allocations: 2.158 MB / 1.154 GB, free: 15.72 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-05/0.5666, allocations: 8 kB / 1.154 GB, free: 15.71 MB / 0.92 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003313/0.5699, allocations: 2.195 MB / 1.156 GB, free: 13.51 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005915/0.5705, allocations: 0.7823 MB / 1.157 GB, free: 12.39 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-05/0.5706, allocations: 24 kB / 1.157 GB, free: 12.37 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.436e-05/0.5706, allocations: 32 kB / 1.157 GB, free: 12.34 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/0.5722, allocations: 427.2 kB / 1.157 GB, free: 11.92 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.713e-05/0.5722, allocations: 55.77 kB / 1.157 GB, free: 11.87 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.5735, allocations: 195.3 kB / 1.158 GB, free: 11.68 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/0.5737, allocations: 83.98 kB / 1.158 GB, free: 11.59 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.5737, allocations: 4 kB / 1.158 GB, free: 11.59 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002656/0.5764, allocations: 1.847 MB / 1.16 GB, free: 9.742 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.594e-05/0.5764, allocations: 27.98 kB / 1.16 GB, free: 9.715 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.453e-05/0.5765, allocations: 36 kB / 1.16 GB, free: 9.68 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.5777, allocations: 387.3 kB / 1.16 GB, free: 9.301 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.616e-05/0.5778, allocations: 52.45 kB / 1.16 GB, free: 9.25 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009898/0.5788, allocations: 131.6 kB / 1.16 GB, free: 9.121 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.5789, allocations: 79.98 kB / 1.16 GB, free: 9.043 MB / 0.92 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001567/0.5804, allocations: 1.14 MB / 1.161 GB, free: 7.891 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000357/0.5808, allocations: 102.7 kB / 1.161 GB, free: 7.789 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001701/0.5825, allocations: 1.097 MB / 1.162 GB, free: 6.688 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/0.5825, allocations: 11.94 kB / 1.162 GB, free: 6.676 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.43e-05/0.5826, allocations: 4.281 kB / 1.162 GB, free: 6.672 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.5826, allocations: 3.984 kB / 1.162 GB, free: 6.668 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01409/0.5967, allocations: 10.18 MB / 1.172 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.343e-05/0.5968, allocations: 16 kB / 1.172 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007077/0.5975, allocations: 187.7 kB / 1.173 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.979e-05/0.5975, allocations: 27.88 kB / 1.173 GB, free: 12 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.636e-05/0.5976, allocations: 36 kB / 1.173 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-05/0.5976, allocations: 32.45 kB / 1.173 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.729e-05/0.5977, allocations: 23.88 kB / 1.173 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00219/0.5999, allocations: 2.158 MB / 1.175 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006393/0.6005, allocations: 347.4 kB / 1.175 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002333/0.6008, allocations: 39.92 kB / 1.175 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.6018, allocations: 95.86 kB / 1.175 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.602, allocations: 95.56 kB / 1.175 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.408e-05/0.602, allocations: 40 kB / 1.175 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001176/0.6032, allocations: 0.7659 MB / 1.176 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6032, allocations: 0 / 1.176 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.003221/0.6065, allocations: 0.7266 MB / 1.177 GB, free: 7.402 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002608/0.6067, allocations: 142.9 kB / 1.177 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003859/0.6106, allocations: 2.488 MB / 1.179 GB, free: 4.773 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/0.6106, allocations: 0 / 1.179 GB, free: 4.773 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007861/0.6114, allocations: 0.5694 MB / 1.18 GB, free: 4.207 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004058/0.6155, allocations: 246 kB / 1.18 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/0.6269, allocations: 5.506 MB / 1.186 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003045/0.63, allocations: 2.015 MB / 1.188 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002131/0.6321, allocations: 0.8522 MB / 1.188 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002925/0.6324, allocations: 87.42 kB / 1.189 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of SimCode: time 1.102e-06/0.6325, allocations: 0 / 1.189 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of Templates: time 0.02587/0.6583, allocations: 13.66 MB / 1.202 GB, free: 13.7 MB / 0.9669 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