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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009499/0.0009501, 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.007338/0.007338, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.346/1.346, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.615/2.615, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000366/0.0003663, allocations: 11.44 kB / 0.9029 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3265, allocations: 159.6 MB / 1.059 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.0171/0.3436, allocations: 15.77 MB / 1.074 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.008781/0.3525, allocations: 5.685 MB / 1.08 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.3536, allocations: 39.88 kB / 1.08 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0009588/0.3545, allocations: 289.9 kB / 1.08 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002057/0.3566, allocations: 0.7747 MB / 1.081 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002063/0.3587, allocations: 0.7825 MB / 1.082 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00548/0.3642, allocations: 6.039 MB / 1.087 GB, free: 7.43 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01001/0.3742, allocations: 6.749 MB / 1.094 GB, free: 0.5938 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002148/0.3764, allocations: 1.168 MB / 1.095 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003108/0.3795, allocations: 1.799 MB / 1.097 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0007312/0.3803, allocations: 184 kB / 1.097 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002497/0.3828, allocations: 0.9944 MB / 1.098 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.002004/0.3848, allocations: 1.36 MB / 1.099 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002864/0.3877, allocations: 1.285 MB / 1.101 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00681/0.3945, allocations: 5.775 MB / 1.106 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3945, allocations: 0 / 1.106 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3945, allocations: 0 / 1.106 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001777/0.3947, allocations: 0 / 1.106 GB, free: 3.988 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.005647/0.4004, allocations: 2.232 MB / 1.109 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.4004, allocations: 15.97 kB / 1.109 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001282/0.4017, allocations: 428.9 kB / 1.109 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003727/0.4055, allocations: 0.6613 MB / 1.11 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002672/0.4082, allocations: 1.423 MB / 1.111 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001581/0.4083, allocations: 213.9 kB / 1.111 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006509/0.409, allocations: 272.4 kB / 1.111 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007591/0.4166, allocations: 4.715 MB / 1.116 GB, free: 9.836 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.264e-05/0.4167, allocations: 0 / 1.116 GB, free: 9.836 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002863/0.417, allocations: 115.9 kB / 1.116 GB, free: 9.723 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001588/0.4171, allocations: 152.6 kB / 1.116 GB, free: 9.57 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005934/0.4231, allocations: 4.093 MB / 1.12 GB, free: 5.461 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02045/0.4435, allocations: 20.31 MB / 1.14 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003172/0.4467, allocations: 1.901 MB / 1.142 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/0.4479, allocations: 0.747 MB / 1.143 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001777/0.4481, allocations: 109.7 kB / 1.143 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.4481, allocations: 47.22 kB / 1.143 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=77): time 3.257e-06/0.4481, allocations: 3.938 kB / 1.143 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of matching and sorting (n=92): time 0.01787/0.466, allocations: 5.275 MB / 1.148 GB, free: 6.902 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.376e-05/0.4661, allocations: 141.5 kB / 1.148 GB, free: 6.734 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/0.4672, allocations: 0.9762 MB / 1.149 GB, free: 5.75 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.802e-05/0.4673, allocations: 41.7 kB / 1.149 GB, free: 5.703 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006108/0.4679, allocations: 1.18 MB / 1.15 GB, free: 4.504 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002437/0.4682, allocations: 339.3 kB / 1.151 GB, free: 4.168 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001837/0.4684, allocations: 137.6 kB / 1.151 GB, free: 4.027 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.4685, allocations: 337.8 kB / 1.151 GB, free: 3.691 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001132/0.4696, allocations: 0.8627 MB / 1.152 GB, free: 2.828 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001508/0.4711, allocations: 1.514 MB / 1.153 GB, free: 1.023 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00278/0.4739, allocations: 2.449 MB / 1.156 GB, free: 14.28 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/0.474, allocations: 8 kB / 1.156 GB, free: 14.27 MB / 0.92 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003422/0.4774, allocations: 2.512 MB / 1.158 GB, free: 11.75 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004361/0.4778, allocations: 0.698 MB / 1.159 GB, free: 10.75 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.61e-05/0.4779, allocations: 20 kB / 1.159 GB, free: 10.73 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.98e-05/0.4779, allocations: 36 kB / 1.159 GB, free: 10.7 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002319/0.4802, allocations: 0.5148 MB / 1.159 GB, free: 10.18 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.976e-05/0.4803, allocations: 47.8 kB / 1.16 GB, free: 10.14 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/0.4814, allocations: 163.4 kB / 1.16 GB, free: 9.977 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/0.4815, allocations: 87.98 kB / 1.16 GB, free: 9.891 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 7.404e-06/0.4815, allocations: 4 kB / 1.16 GB, free: 9.887 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003094/0.4846, allocations: 2.386 MB / 1.162 GB, free: 7.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/0.4846, allocations: 20 kB / 1.162 GB, free: 7.48 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-05/0.4847, allocations: 32 kB / 1.162 GB, free: 7.449 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002223/0.4869, allocations: 0.5147 MB / 1.163 GB, free: 6.934 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.34e-05/0.4869, allocations: 44.27 kB / 1.163 GB, free: 6.891 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008959/0.4878, allocations: 131.8 kB / 1.163 GB, free: 6.762 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/0.488, allocations: 91.97 kB / 1.163 GB, free: 6.672 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.001586/0.4896, allocations: 1.222 MB / 1.164 GB, free: 5.438 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002059/0.4898, allocations: 94.88 kB / 1.164 GB, free: 5.344 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002651/0.4924, allocations: 1.836 MB / 1.166 GB, free: 3.461 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.4925, allocations: 8 kB / 1.166 GB, free: 3.453 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4925, allocations: 0 / 1.166 GB, free: 3.453 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.4925, allocations: 7.984 kB / 1.166 GB, free: 3.445 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009532/0.502, allocations: 9.068 MB / 1.175 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.449e-05/0.5021, allocations: 8 kB / 1.175 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/0.5031, allocations: 251.6 kB / 1.175 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.651e-05/0.5032, allocations: 12.66 kB / 1.175 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.779e-05/0.5032, allocations: 35.98 kB / 1.175 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.584e-05/0.5033, allocations: 19.94 kB / 1.175 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.054e-05/0.5033, allocations: 19.88 kB / 1.175 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001906/0.5052, allocations: 1.77 MB / 1.177 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004471/0.5056, allocations: 323.8 kB / 1.177 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.5058, allocations: 31.98 kB / 1.177 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000741/0.5065, allocations: 71.91 kB / 1.177 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.5067, allocations: 95.61 kB / 1.177 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-05/0.5067, allocations: 36 kB / 1.177 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009126/0.5076, allocations: 0.7293 MB / 1.178 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5076, allocations: 0 / 1.178 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002667/0.5103, allocations: 0.8047 MB / 1.179 GB, free: 5.02 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.00231/0.5126, allocations: 2.377 MB / 1.181 GB, free: 2.48 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004095/0.5167, allocations: 2.975 MB / 1.184 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/0.5168, allocations: 4 kB / 1.184 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008285/0.5176, allocations: 0.5767 MB / 1.185 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00269/0.5203, allocations: 189.8 kB / 1.185 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01988/0.5402, allocations: 16.22 MB / 1.201 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001845/0.5421, allocations: 2.105 MB / 1.203 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.00237/0.5445, allocations: 1.023 MB / 1.204 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009171/0.5454, allocations: 0.7531 MB / 1.205 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of SimCode: time 6.81e-07/0.5454, allocations: 4 kB / 1.205 GB, free: 9.555 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04513/0.5905, allocations: 28.2 MB / 1.232 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001955/0.5908, allocations: 241.3 kB / 1.232 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.144/2.734, allocations: 0 / 1.232 GB, free: 13.36 MB / 0.9981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.fmu > 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