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.0008297/0.0008297, allocations: 92.7 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008659/0.000866, allocations: 183.5 kB / 16.92 MB, free: 6.922 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.402/1.402, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.863/2.863, allocations: 462.6 MB / 0.7371 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003764/0.0003763, allocations: 15.53 kB / 0.9034 GB, free: 36.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2956, allocations: 159.6 MB / 1.059 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.0187/0.3143, allocations: 15.77 MB / 1.075 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.009363/0.3237, allocations: 5.689 MB / 1.08 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/0.325, allocations: 35.94 kB / 1.08 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.326, allocations: 289.9 kB / 1.081 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002206/0.3282, allocations: 0.7825 MB / 1.081 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002214/0.3305, allocations: 0.776 MB / 1.082 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.005726/0.3362, allocations: 6.035 MB / 1.088 GB, free: 7.473 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01063/0.3469, allocations: 6.75 MB / 1.095 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00229/0.3492, allocations: 1.175 MB / 1.096 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003218/0.3524, allocations: 1.795 MB / 1.097 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0008105/0.3533, allocations: 184 kB / 1.098 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002535/0.3558, allocations: 0.9905 MB / 1.099 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.002256/0.3581, allocations: 1.361 MB / 1.1 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002846/0.3609, allocations: 1.293 MB / 1.101 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00543/0.3664, allocations: 5.096 MB / 1.106 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.3664, allocations: 0 / 1.106 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.937e-06/0.3664, allocations: 4 kB / 1.106 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001699/0.3666, allocations: 0 / 1.106 GB, free: 4.703 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.005798/0.3724, allocations: 2.232 MB / 1.108 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.3725, allocations: 15.97 kB / 1.108 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003873/0.3763, allocations: 0.6614 MB / 1.109 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002809/0.3792, allocations: 1.423 MB / 1.11 GB, free: 272 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001903/0.3794, allocations: 210 kB / 1.111 GB, free: 60 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008801/0.3803, allocations: 276.4 kB / 1.111 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01037/0.3907, allocations: 4.715 MB / 1.116 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.998e-05/0.3908, allocations: 3.984 kB / 1.116 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005693/0.3913, allocations: 116 kB / 1.116 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001933/0.3915, allocations: 148.6 kB / 1.116 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007915/0.3995, allocations: 4.089 MB / 1.12 GB, free: 6.613 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02414/0.4236, allocations: 20.31 MB / 1.14 GB, free: 344 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003309/0.427, allocations: 1.897 MB / 1.141 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001107/0.4281, allocations: 0.747 MB / 1.142 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001491/0.4283, allocations: 117.5 kB / 1.142 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.4283, allocations: 47.22 kB / 1.142 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=77): time 2.845e-06/0.4283, allocations: 0 / 1.142 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of matching and sorting (n=92): time 0.01873/0.4471, allocations: 5.279 MB / 1.147 GB, free: 8.047 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.976e-05/0.4472, allocations: 137.5 kB / 1.148 GB, free: 7.883 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.4485, allocations: 0.9762 MB / 1.149 GB, free: 6.898 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001177/0.4486, allocations: 41.8 kB / 1.149 GB, free: 6.852 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007182/0.4493, allocations: 1.184 MB / 1.15 GB, free: 5.648 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003085/0.4497, allocations: 331.3 kB / 1.15 GB, free: 5.32 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002101/0.4499, allocations: 141.6 kB / 1.15 GB, free: 5.176 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.45, allocations: 330 kB / 1.151 GB, free: 4.848 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001323/0.4514, allocations: 0.8666 MB / 1.151 GB, free: 3.98 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001695/0.4531, allocations: 1.518 MB / 1.153 GB, free: 2.172 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003346/0.4564, allocations: 2.453 MB / 1.155 GB, free: 15.42 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.292e-05/0.4565, allocations: 4 kB / 1.155 GB, free: 15.41 MB / 0.92 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.004225/0.4607, allocations: 2.508 MB / 1.158 GB, free: 12.9 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005063/0.4612, allocations: 0.7018 MB / 1.158 GB, free: 11.9 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.247e-05/0.4613, allocations: 27.98 kB / 1.158 GB, free: 11.87 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.852e-05/0.4613, allocations: 28 kB / 1.158 GB, free: 11.84 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0024/0.4637, allocations: 0.5226 MB / 1.159 GB, free: 11.32 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.862e-05/0.4638, allocations: 43.8 kB / 1.159 GB, free: 11.28 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.4649, allocations: 159.6 kB / 1.159 GB, free: 11.12 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000161/0.4651, allocations: 87.92 kB / 1.159 GB, free: 11.04 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.4651, allocations: 4 kB / 1.159 GB, free: 11.03 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003422/0.4686, allocations: 2.386 MB / 1.162 GB, free: 8.645 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.603e-05/0.4686, allocations: 20 kB / 1.162 GB, free: 8.625 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.392e-05/0.4687, allocations: 32 kB / 1.162 GB, free: 8.594 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002362/0.471, allocations: 0.5109 MB / 1.162 GB, free: 8.082 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.826e-05/0.4711, allocations: 51.78 kB / 1.162 GB, free: 8.031 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.4721, allocations: 136 kB / 1.162 GB, free: 7.898 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001555/0.4723, allocations: 83.98 kB / 1.162 GB, free: 7.816 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00172/0.474, allocations: 1.218 MB / 1.164 GB, free: 6.586 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002573/0.4743, allocations: 98.81 kB / 1.164 GB, free: 6.488 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002885/0.4772, allocations: 1.836 MB / 1.165 GB, free: 4.605 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.4772, allocations: 8 kB / 1.165 GB, free: 4.598 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/0.4772, allocations: 4 kB / 1.165 GB, free: 4.594 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.4772, allocations: 3.984 kB / 1.165 GB, free: 4.59 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01093/0.4882, allocations: 9.064 MB / 1.174 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.39e-05/0.4882, allocations: 15.98 kB / 1.174 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/0.4893, allocations: 247.6 kB / 1.175 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.411e-05/0.4894, allocations: 16 kB / 1.175 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.9e-05/0.4895, allocations: 28.56 kB / 1.175 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.878e-05/0.4895, allocations: 23.92 kB / 1.175 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.23e-05/0.4895, allocations: 23.92 kB / 1.175 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002117/0.4916, allocations: 1.766 MB / 1.176 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005753/0.4922, allocations: 323.8 kB / 1.177 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001994/0.4924, allocations: 31.98 kB / 1.177 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008157/0.4932, allocations: 71.91 kB / 1.177 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.4934, allocations: 91.61 kB / 1.177 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.379e-05/0.4935, allocations: 40 kB / 1.177 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001027/0.4945, allocations: 0.7293 MB / 1.178 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4945, allocations: 0 / 1.178 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.003009/0.4975, allocations: 0.8047 MB / 1.178 GB, free: 6.168 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 (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.0003173/0.4978, allocations: 170.8 kB / 1.179 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004417/0.5023, allocations: 2.971 MB / 1.181 GB, free: 3.027 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/0.5023, allocations: 4 kB / 1.181 GB, free: 3.023 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008084/0.5031, allocations: 0.5768 MB / 1.182 GB, free: 2.449 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002504/0.5056, allocations: 174.9 kB / 1.182 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009435/0.5151, allocations: 6.034 MB / 1.188 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002631/0.5178, allocations: 2.176 MB / 1.19 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005738/0.5183, allocations: 111.4 kB / 1.19 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of SimCode: time 1.042e-06/0.5184, allocations: 0 / 1.19 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of Templates: time 0.03984/0.5582, allocations: 26.61 MB / 1.216 GB, free: 15.15 MB / 0.9825 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/jenkins1/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