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.0009455/0.0009452, allocations: 97.78 kB / 16.02 MB, free: 76 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.001157/0.001157, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.371/1.371, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.539/2.539, allocations: 443.2 MB / 0.7181 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003565, allocations: 12.06 kB / 0.8801 GB, free: 42.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.314, allocations: 155.2 MB / 1.032 GB, free: 4.75 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.0189/0.3329, allocations: 15.77 MB / 1.047 GB, free: 4.934 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01024/0.3432, allocations: 5.69 MB / 1.053 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001361/0.3446, allocations: 31.94 kB / 1.053 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001143/0.3458, allocations: 289.9 kB / 1.053 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.002404/0.3482, allocations: 0.7864 MB / 1.054 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002352/0.3506, allocations: 0.776 MB / 1.054 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.00616/0.3568, allocations: 6.043 MB / 1.06 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01074/0.3675, allocations: 6.744 MB / 1.067 GB, free: 472 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002456/0.37, allocations: 1.18 MB / 1.068 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003313/0.3733, allocations: 1.795 MB / 1.07 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0008336/0.3742, allocations: 180 kB / 1.07 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003116/0.3773, allocations: 0.9865 MB / 1.071 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.002635/0.38, allocations: 1.368 MB / 1.072 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.003662/0.3836, allocations: 1.285 MB / 1.074 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.006408/0.3901, allocations: 5.1 MB / 1.079 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.3901, allocations: 3.984 kB / 1.079 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.865e-06/0.3901, allocations: 4 kB / 1.079 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001988/0.3903, allocations: 0 / 1.079 GB, free: 4.523 MB / 0.8262 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.006413/0.3967, allocations: 2.228 MB / 1.081 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/0.3968, allocations: 12.03 kB / 1.081 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004/0.4008, allocations: 0.6691 MB / 1.081 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003018/0.4039, allocations: 1.427 MB / 1.083 GB, free: 84 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002483/0.4041, allocations: 210 kB / 1.083 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009723/0.4051, allocations: 268.3 kB / 1.083 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01108/0.4162, allocations: 4.72 MB / 1.088 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.209e-05/0.4163, allocations: 4 kB / 1.088 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006753/0.417, allocations: 112 kB / 1.088 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001974/0.4172, allocations: 156.6 kB / 1.088 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007794/0.425, allocations: 4.085 MB / 1.092 GB, free: 6.434 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02582/0.4509, allocations: 20.3 MB / 1.112 GB, free: 160 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003337/0.4542, allocations: 1.895 MB / 1.114 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001101/0.4554, allocations: 0.747 MB / 1.114 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001631/0.4556, allocations: 113.6 kB / 1.115 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.4556, allocations: 43.16 kB / 1.115 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=77): time 3.256e-06/0.4556, allocations: 0 / 1.115 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92): time 0.01909/0.4747, allocations: 5.279 MB / 1.12 GB, free: 7.883 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.611e-05/0.4748, allocations: 141.5 kB / 1.12 GB, free: 7.715 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/0.4762, allocations: 0.9725 MB / 1.121 GB, free: 6.73 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.492e-05/0.4763, allocations: 41.7 kB / 1.121 GB, free: 6.684 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007244/0.477, allocations: 1.183 MB / 1.122 GB, free: 5.48 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003046/0.4773, allocations: 335.3 kB / 1.122 GB, free: 5.148 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/0.4775, allocations: 137.6 kB / 1.123 GB, free: 5.008 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.4777, allocations: 334 kB / 1.123 GB, free: 4.676 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/0.479, allocations: 0.8627 MB / 1.124 GB, free: 3.812 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001754/0.4807, allocations: 1.518 MB / 1.125 GB, free: 2.008 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003041/0.4838, allocations: 2.453 MB / 1.128 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.341e-05/0.4838, allocations: 8 kB / 1.128 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003863/0.4877, allocations: 2.504 MB / 1.13 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006099/0.4883, allocations: 0.7138 MB / 1.131 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.662e-05/0.4883, allocations: 20 kB / 1.131 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.934e-05/0.4884, allocations: 35.98 kB / 1.131 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002391/0.4908, allocations: 0.5109 MB / 1.131 GB, free: 11.15 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.181e-05/0.4909, allocations: 43.86 kB / 1.131 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.492, allocations: 151.6 kB / 1.131 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000169/0.4922, allocations: 95.86 kB / 1.132 GB, free: 10.87 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.4922, allocations: 9.547 kB / 1.132 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00342/0.4956, allocations: 2.386 MB / 1.134 GB, free: 8.477 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.479e-05/0.4957, allocations: 24 kB / 1.134 GB, free: 8.453 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.253e-05/0.4957, allocations: 32 kB / 1.134 GB, free: 8.422 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002242/0.498, allocations: 0.5076 MB / 1.134 GB, free: 7.914 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.524e-05/0.498, allocations: 47.8 kB / 1.134 GB, free: 7.867 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009492/0.499, allocations: 135.7 kB / 1.135 GB, free: 7.734 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001559/0.4992, allocations: 87.92 kB / 1.135 GB, free: 7.648 MB / 0.8887 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.001751/0.5009, allocations: 1.224 MB / 1.136 GB, free: 6.414 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002434/0.5012, allocations: 98.81 kB / 1.136 GB, free: 6.316 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002845/0.504, allocations: 1.825 MB / 1.138 GB, free: 4.445 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.5041, allocations: 12 kB / 1.138 GB, free: 4.434 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.5041, allocations: 0 / 1.138 GB, free: 4.434 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.5041, allocations: 3.984 kB / 1.138 GB, free: 4.43 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01074/0.5148, allocations: 9.064 MB / 1.147 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.643e-05/0.5149, allocations: 15.94 kB / 1.147 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/0.5159, allocations: 252.4 kB / 1.147 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.119e-05/0.5159, allocations: 27.94 kB / 1.147 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.809e-05/0.516, allocations: 24 kB / 1.147 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.786e-05/0.516, allocations: 23.92 kB / 1.147 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.358e-05/0.516, allocations: 15.94 kB / 1.147 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001973/0.518, allocations: 1.767 MB / 1.149 GB, free: 8.09 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005073/0.5185, allocations: 323.8 kB / 1.149 GB, free: 7.754 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001925/0.5187, allocations: 28 kB / 1.149 GB, free: 7.727 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007717/0.5195, allocations: 79.89 kB / 1.149 GB, free: 7.648 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.5197, allocations: 95.61 kB / 1.149 GB, free: 7.555 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.114e-05/0.5197, allocations: 32 kB / 1.149 GB, free: 7.523 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0009903/0.5207, allocations: 0.7254 MB / 1.15 GB, free: 6.797 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5207, allocations: 3.938 kB / 1.15 GB, free: 6.793 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002994/0.5237, allocations: 0.8086 MB / 1.151 GB, free: 5.984 MB / 0.9044 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.0002881/0.524, allocations: 166.9 kB / 1.151 GB, free: 5.812 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.004341/0.5284, allocations: 2.978 MB / 1.154 GB, free: 2.848 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.5284, allocations: 0 / 1.154 GB, free: 2.848 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0007521/0.5292, allocations: 0.5803 MB / 1.154 GB, free: 2.27 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002318/0.5315, allocations: 161.8 kB / 1.155 GB, free: 2.113 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008961/0.5405, allocations: 6.04 MB / 1.16 GB, free: 11.89 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0025/0.543, allocations: 2.176 MB / 1.163 GB, free: 9.676 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005344/0.5435, allocations: 107.4 kB / 1.163 GB, free: 9.57 MB / 0.92 GB Notification: Performance of SimCode: time 6.01e-07/0.5435, allocations: 0 / 1.163 GB, free: 9.57 MB / 0.92 GB Notification: Performance of Templates: time 0.04052/0.5841, allocations: 26.6 MB / 1.189 GB, free: 14.99 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/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