Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.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.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y_1.V.1.|probe_Y_1.V.2.|probe_Y_1.V.3.|probe_D_1.V.1.|probe_D_1.V.2.|probe_D_1.V.3.|probe_2.V.1.|probe_2.V.2.|probe_2.V.3.|probe_Y_1.theta.1.|probe_Y_1.theta.2.|probe_Y_1.theta.3.|probe_D_1.theta.1.|probe_D_1.theta.2.|probe_D_1.theta.3.|probe_2.theta.1.|probe_2.theta.2.|probe_2.theta.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y_1.V.1.|probe_Y_1.V.2.|probe_Y_1.V.3.|probe_D_1.V.1.|probe_D_1.V.2.|probe_D_1.V.3.|probe_2.V.1.|probe_2.V.2.|probe_2.V.3.|probe_Y_1.theta.1.|probe_Y_1.theta.2.|probe_Y_1.theta.3.|probe_D_1.theta.1.|probe_D_1.theta.2.|probe_D_1.theta.3.|probe_2.theta.1.|probe_2.theta.2.|probe_2.theta.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009962/0.0009963, allocations: 92.31 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.001427/0.001427, 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.502/1.502, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.996/2.996, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000399/0.0003993, allocations: 12.31 kB / 0.9021 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3884, allocations: 159.6 MB / 1.058 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.01807/0.4065, allocations: 14.91 MB / 1.073 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.009869/0.4164, allocations: 5.387 MB / 1.078 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0014/0.4179, allocations: 39.88 kB / 1.078 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001142/0.4191, allocations: 289.9 kB / 1.078 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.002107/0.4212, allocations: 0.6303 MB / 1.079 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002822/0.424, allocations: 0.6109 MB / 1.079 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.005848/0.4299, allocations: 4.572 MB / 1.084 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01054/0.4405, allocations: 5.883 MB / 1.09 GB, free: 4.84 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002459/0.443, allocations: 1.203 MB / 1.091 GB, free: 3.633 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003166/0.4462, allocations: 1.764 MB / 1.092 GB, free: 1.863 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.000665/0.4468, allocations: 180 kB / 1.093 GB, free: 1.688 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002056/0.4489, allocations: 0.5853 MB / 1.093 GB, free: 1.102 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.002194/0.4511, allocations: 1.353 MB / 1.095 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001233/0.4524, allocations: 0.52 MB / 1.095 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.005946/0.4583, allocations: 5.085 MB / 1.1 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.587e-06/0.4584, allocations: 0 / 1.1 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.886e-06/0.4584, allocations: 0 / 1.1 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001568/0.4586, allocations: 0 / 1.1 GB, free: 10.12 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: 735 * Number of variables: 735 Notification: Performance of Generate backend data structure: time 0.005261/0.4638, allocations: 2.255 MB / 1.102 GB, free: 7.805 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.4639, allocations: 12.03 kB / 1.102 GB, free: 7.793 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003375/0.4673, allocations: 0.6604 MB / 1.103 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002408/0.4697, allocations: 1.414 MB / 1.104 GB, free: 5.668 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001582/0.4699, allocations: 209.6 kB / 1.104 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004267/0.4703, allocations: 271.9 kB / 1.105 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008341/0.4786, allocations: 4.688 MB / 1.109 GB, free: 428 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.613e-05/0.4787, allocations: 0 / 1.109 GB, free: 428 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003134/0.479, allocations: 116 kB / 1.109 GB, free: 312 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001829/0.4792, allocations: 152.6 kB / 1.11 GB, free: 156 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007055/0.4863, allocations: 4.07 MB / 1.114 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02518/0.5115, allocations: 20.29 MB / 1.133 GB, free: 5.801 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00297/0.5145, allocations: 1.898 MB / 1.135 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001045/0.5156, allocations: 0.747 MB / 1.136 GB, free: 3 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000151/0.5157, allocations: 109.7 kB / 1.136 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.5158, allocations: 43.22 kB / 1.136 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=77): time 2.746e-06/0.5158, allocations: 0 / 1.136 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of matching and sorting (n=92): time 0.0172/0.533, allocations: 5.279 MB / 1.141 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.648e-05/0.5331, allocations: 145.5 kB / 1.141 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/0.5344, allocations: 0.9608 MB / 1.142 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 8.07e-05/0.5345, allocations: 49.64 kB / 1.142 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008565/0.5354, allocations: 1.191 MB / 1.144 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002911/0.5357, allocations: 335.3 kB / 1.144 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.073e-05/0.5358, allocations: 32 kB / 1.144 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001962/0.536, allocations: 398.8 kB / 1.144 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001229/0.5372, allocations: 0.8549 MB / 1.145 GB, free: 9.504 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00168/0.5389, allocations: 1.499 MB / 1.147 GB, free: 7.715 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001582/0.5405, allocations: 1.178 MB / 1.148 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/0.5405, allocations: 4 kB / 1.148 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003625/0.5442, allocations: 2.481 MB / 1.15 GB, free: 4.043 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005928/0.5448, allocations: 0.7076 MB / 1.151 GB, free: 3.039 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.221e-05/0.5448, allocations: 20 kB / 1.151 GB, free: 3.02 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.531e-05/0.5449, allocations: 36 kB / 1.151 GB, free: 2.984 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002406/0.5473, allocations: 0.5187 MB / 1.151 GB, free: 2.465 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.544e-05/0.5474, allocations: 47.8 kB / 1.151 GB, free: 2.418 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.5486, allocations: 151.6 kB / 1.152 GB, free: 2.27 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001459/0.5487, allocations: 95.97 kB / 1.152 GB, free: 2.176 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.5487, allocations: 4 kB / 1.152 GB, free: 2.172 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003571/0.5523, allocations: 2.371 MB / 1.154 GB, free: 15.8 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.318e-05/0.5524, allocations: 24 kB / 1.154 GB, free: 15.77 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.522e-05/0.5524, allocations: 32 kB / 1.154 GB, free: 15.74 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002094/0.5545, allocations: 0.5109 MB / 1.155 GB, free: 15.23 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-05/0.5546, allocations: 47.8 kB / 1.155 GB, free: 15.18 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.5556, allocations: 139.7 kB / 1.155 GB, free: 15.05 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/0.5557, allocations: 87.98 kB / 1.155 GB, free: 14.96 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * 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 (211): * Single equations (assignments): 211 * 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.001975/0.5577, allocations: 1.218 MB / 1.156 GB, free: 13.73 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002675/0.558, allocations: 94.88 kB / 1.156 GB, free: 13.64 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003026/0.561, allocations: 1.84 MB / 1.158 GB, free: 11.75 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.5611, allocations: 8 kB / 1.158 GB, free: 11.74 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.649e-06/0.5611, allocations: 4 kB / 1.158 GB, free: 11.73 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.5611, allocations: 7.969 kB / 1.158 GB, free: 11.73 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01107/0.5722, allocations: 9.061 MB / 1.167 GB, free: 1.668 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-05/0.5722, allocations: 8 kB / 1.167 GB, free: 1.66 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.5732, allocations: 251.6 kB / 1.167 GB, free: 1.414 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.291e-05/0.5733, allocations: 16 kB / 1.167 GB, free: 1.398 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.117e-05/0.5733, allocations: 28 kB / 1.167 GB, free: 1.371 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.065e-05/0.5734, allocations: 23.92 kB / 1.167 GB, free: 1.348 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.158e-05/0.5734, allocations: 16.31 kB / 1.167 GB, free: 1.332 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001999/0.5754, allocations: 1.77 MB / 1.169 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005072/0.5759, allocations: 319.8 kB / 1.169 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.5761, allocations: 32 kB / 1.169 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006481/0.5767, allocations: 75.89 kB / 1.169 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.5769, allocations: 83.7 kB / 1.169 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.902e-05/0.5769, allocations: 40 kB / 1.169 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009473/0.5779, allocations: 0.7254 MB / 1.17 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5779, allocations: 0 / 1.17 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002767/0.5807, allocations: 0.8047 MB / 1.171 GB, free: 13.32 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * 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 (89): * Single equations (assignments): 89 * 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.0002976/0.581, allocations: 162.9 kB / 1.171 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004251/0.5852, allocations: 2.948 MB / 1.174 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.5852, allocations: 4.062 kB / 1.174 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007504/0.586, allocations: 0.5725 MB / 1.174 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.5873, allocations: 182.5 kB / 1.175 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007608/0.5949, allocations: 5.347 MB / 1.18 GB, free: 3.949 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002064/0.597, allocations: 2.109 MB / 1.182 GB, free: 1.809 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.00273/0.5998, allocations: 1.015 MB / 1.183 GB, free: 0.7891 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003253/0.6001, allocations: 91.42 kB / 1.183 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of SimCode: time 9.22e-07/0.6001, allocations: 0 / 1.183 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of Templates: time 0.02633/0.6265, allocations: 13.76 MB / 1.196 GB, free: 3.016 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches