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.0009309/0.0009309, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007038/0.007038, allocations: 169.5 kB / 16.27 MB, free: 6.652 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.45/1.45, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.813/2.813, allocations: 462.6 MB / 0.7363 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003711/0.0003711, allocations: 7.25 kB / 0.9027 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3762/0.3766, allocations: 159.6 MB / 1.059 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.01862/0.3952, allocations: 15.77 MB / 1.074 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.009771/0.4051, allocations: 5.678 MB / 1.08 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.4064, allocations: 39.88 kB / 1.08 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0009115/0.4073, allocations: 290 kB / 1.08 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002265/0.4096, allocations: 0.7825 MB / 1.081 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002354/0.412, allocations: 0.7859 MB / 1.081 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.006357/0.4183, allocations: 6.043 MB / 1.087 GB, free: 7.555 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01012/0.4285, allocations: 6.736 MB / 1.094 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002447/0.431, allocations: 1.175 MB / 1.095 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002983/0.434, allocations: 1.791 MB / 1.097 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0004157/0.4344, allocations: 180 kB / 1.097 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002121/0.4365, allocations: 0.9906 MB / 1.098 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001633/0.4382, allocations: 1.368 MB / 1.099 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001723/0.4399, allocations: 1.285 MB / 1.101 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.006394/0.4463, allocations: 5.779 MB / 1.106 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.4464, allocations: 0 / 1.106 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.974e-06/0.4464, allocations: 0 / 1.106 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001611/0.4465, allocations: 0 / 1.106 GB, free: 4.121 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.005024/0.4516, allocations: 2.232 MB / 1.108 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.4516, allocations: 15.97 kB / 1.108 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00348/0.4551, allocations: 0.6613 MB / 1.109 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002648/0.4578, allocations: 1.427 MB / 1.11 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001613/0.458, allocations: 210 kB / 1.111 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005072/0.4585, allocations: 268.4 kB / 1.111 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008503/0.467, allocations: 4.715 MB / 1.115 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.163e-05/0.4671, allocations: 4 kB / 1.115 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003017/0.4674, allocations: 116 kB / 1.116 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001922/0.4676, allocations: 152.6 kB / 1.116 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007048/0.4746, allocations: 4.089 MB / 1.12 GB, free: 6.027 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02766/0.5023, allocations: 20.3 MB / 1.14 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003325/0.5057, allocations: 1.909 MB / 1.141 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001164/0.5069, allocations: 0.7431 MB / 1.142 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001773/0.5071, allocations: 113.7 kB / 1.142 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.5071, allocations: 43.2 kB / 1.142 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=77): time 3.897e-06/0.5071, allocations: 0 / 1.142 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of matching and sorting (n=92): time 0.01963/0.5268, allocations: 5.279 MB / 1.147 GB, free: 7.465 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.576e-05/0.5269, allocations: 141.5 kB / 1.148 GB, free: 7.297 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/0.5284, allocations: 0.9723 MB / 1.149 GB, free: 6.316 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 9.781e-05/0.5285, allocations: 41.7 kB / 1.149 GB, free: 6.27 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009539/0.5295, allocations: 1.176 MB / 1.15 GB, free: 5.074 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003645/0.5299, allocations: 339.2 kB / 1.15 GB, free: 4.738 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002473/0.5301, allocations: 137.6 kB / 1.15 GB, free: 4.598 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.5303, allocations: 334 kB / 1.15 GB, free: 4.266 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001399/0.5317, allocations: 0.8666 MB / 1.151 GB, free: 3.398 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001943/0.5337, allocations: 1.514 MB / 1.153 GB, free: 1.594 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003572/0.5372, allocations: 2.457 MB / 1.155 GB, free: 14.84 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.201e-05/0.5373, allocations: 8 kB / 1.155 GB, free: 14.83 MB / 0.92 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.004472/0.5418, allocations: 2.507 MB / 1.158 GB, free: 12.31 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007978/0.5426, allocations: 0.7104 MB / 1.158 GB, free: 11.3 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.529e-05/0.5427, allocations: 20 kB / 1.158 GB, free: 11.29 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.982e-05/0.5427, allocations: 32 kB / 1.158 GB, free: 11.25 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002614/0.5454, allocations: 0.507 MB / 1.159 GB, free: 10.75 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-05/0.5455, allocations: 55.78 kB / 1.159 GB, free: 10.69 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/0.547, allocations: 147.6 kB / 1.159 GB, free: 10.55 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002052/0.5472, allocations: 91.91 kB / 1.159 GB, free: 10.46 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.5472, allocations: 8 kB / 1.159 GB, free: 10.45 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003951/0.5512, allocations: 2.382 MB / 1.162 GB, free: 8.066 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.345e-05/0.5513, allocations: 24 kB / 1.162 GB, free: 8.043 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.771e-05/0.5513, allocations: 36.09 kB / 1.162 GB, free: 8.008 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002413/0.5537, allocations: 0.5109 MB / 1.162 GB, free: 7.496 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.603e-05/0.5538, allocations: 43.8 kB / 1.162 GB, free: 7.453 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.555, allocations: 131.7 kB / 1.162 GB, free: 7.324 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001824/0.5552, allocations: 91.92 kB / 1.162 GB, free: 7.234 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.002749/0.5579, allocations: 1.226 MB / 1.164 GB, free: 5.996 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004404/0.5584, allocations: 102.8 kB / 1.164 GB, free: 5.895 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003496/0.5619, allocations: 1.829 MB / 1.165 GB, free: 4.02 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.327e-05/0.5619, allocations: 15.98 kB / 1.165 GB, free: 4.004 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/0.5619, allocations: 3.984 kB / 1.165 GB, free: 4 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.562, allocations: 3.984 kB / 1.165 GB, free: 3.996 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01325/0.5752, allocations: 9.057 MB / 1.174 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.86e-05/0.5753, allocations: 12 kB / 1.174 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/0.5764, allocations: 247.6 kB / 1.175 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.212e-05/0.5764, allocations: 16 kB / 1.175 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.153e-05/0.5765, allocations: 28 kB / 1.175 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.145e-05/0.5766, allocations: 23.92 kB / 1.175 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-05/0.5766, allocations: 15.94 kB / 1.175 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002315/0.5789, allocations: 1.774 MB / 1.176 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007393/0.5797, allocations: 327.8 kB / 1.177 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000246/0.5799, allocations: 28 kB / 1.177 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009403/0.5809, allocations: 75.89 kB / 1.177 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.581, allocations: 91.61 kB / 1.177 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.289e-05/0.5811, allocations: 36 kB / 1.177 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001293/0.5824, allocations: 0.7254 MB / 1.178 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5824, allocations: 3.938 kB / 1.178 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00366/0.5861, allocations: 0.8047 MB / 1.178 GB, free: 5.586 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.0003772/0.5865, allocations: 178.8 kB / 1.179 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004794/0.5913, allocations: 2.972 MB / 1.181 GB, free: 2.438 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/0.5913, allocations: 0 / 1.181 GB, free: 2.438 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008363/0.5922, allocations: 0.5758 MB / 1.182 GB, free: 1.863 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002611/0.5948, allocations: 170.6 kB / 1.182 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009728/0.6045, allocations: 5.566 MB / 1.188 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002772/0.6073, allocations: 2.105 MB / 1.19 GB, free: 9.82 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.003004/0.6104, allocations: 1.023 MB / 1.191 GB, free: 8.797 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004355/0.6108, allocations: 91.42 kB / 1.191 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of SimCode: time 1.853e-06/0.6108, allocations: 0 / 1.191 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of Templates: time 0.02905/0.6399, allocations: 14 MB / 1.204 GB, free: 10.79 MB / 0.9669 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