Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,fileNamePrefix="Buildings_10_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.0008875/0.0008873, allocations: 97.64 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.005344/0.005344, allocations: 170.1 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.234/1.234, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.295/2.295, allocations: 437.8 MB / 0.7121 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003315/0.0003316, allocations: 8 kB / 0.873 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5406/0.541, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.01683/0.5578, allocations: 15.77 MB / 1.039 GB, free: 36 kB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.007855/0.5657, allocations: 5.663 MB / 1.044 GB, free: 10.35 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007209/0.5665, allocations: 39.88 kB / 1.044 GB, free: 10.31 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0007375/0.5672, allocations: 285.9 kB / 1.044 GB, free: 10.03 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001698/0.5689, allocations: 0.7826 MB / 1.045 GB, free: 9.246 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001661/0.5706, allocations: 0.7798 MB / 1.046 GB, free: 8.469 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.004768/0.5754, allocations: 6.043 MB / 1.052 GB, free: 2.414 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008091/0.5835, allocations: 6.77 MB / 1.058 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001356/0.5848, allocations: 1.175 MB / 1.06 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001903/0.5868, allocations: 1.795 MB / 1.061 GB, free: 8.586 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0002346/0.587, allocations: 183.9 kB / 1.062 GB, free: 8.406 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001442/0.5885, allocations: 0.9866 MB / 1.062 GB, free: 7.418 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001079/0.5895, allocations: 1.36 MB / 1.064 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001071/0.5906, allocations: 1.285 MB / 1.065 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.004215/0.5948, allocations: 5.775 MB / 1.071 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.5949, allocations: 4 kB / 1.071 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.382e-06/0.5949, allocations: 0 / 1.071 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.842e-05/0.5949, allocations: 0 / 1.071 GB, free: 14.96 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.00356/0.5985, allocations: 2.232 MB / 1.073 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.5985, allocations: 8.031 kB / 1.073 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005021/0.599, allocations: 432.9 kB / 1.073 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002877/0.6019, allocations: 0.6575 MB / 1.074 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001936/0.6039, allocations: 1.427 MB / 1.075 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001383/0.604, allocations: 206 kB / 1.076 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000399/0.6044, allocations: 268.4 kB / 1.076 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006413/0.6108, allocations: 4.719 MB / 1.08 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.491e-05/0.6109, allocations: 4 kB / 1.08 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002844/0.6112, allocations: 116 kB / 1.081 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001415/0.6113, allocations: 152.6 kB / 1.081 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005537/0.6169, allocations: 4.081 MB / 1.085 GB, free: 468 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01912/0.636, allocations: 20.31 MB / 1.104 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003119/0.6391, allocations: 1.899 MB / 1.106 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/0.6403, allocations: 0.7508 MB / 1.107 GB, free: 7.359 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001781/0.6405, allocations: 113.7 kB / 1.107 GB, free: 7.23 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.6405, allocations: 43.16 kB / 1.107 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=77): time 2.976e-06/0.6405, allocations: 0 / 1.107 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of matching and sorting (n=92): time 0.01739/0.6579, allocations: 5.279 MB / 1.112 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.105e-05/0.658, allocations: 149.5 kB / 1.113 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.6592, allocations: 0.9646 MB / 1.113 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.967e-05/0.6592, allocations: 41.7 kB / 1.113 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007189/0.66, allocations: 1.183 MB / 1.115 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002924/0.6603, allocations: 335.4 kB / 1.115 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001999/0.6605, allocations: 133.6 kB / 1.115 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.6606, allocations: 337.9 kB / 1.115 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001249/0.6619, allocations: 0.8705 MB / 1.116 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001707/0.6636, allocations: 1.503 MB / 1.118 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003021/0.6666, allocations: 2.457 MB / 1.12 GB, free: 9.262 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.729e-06/0.6666, allocations: 8 kB / 1.12 GB, free: 9.254 MB / 0.8731 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003367/0.67, allocations: 2.504 MB / 1.123 GB, free: 6.742 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004474/0.6705, allocations: 0.7063 MB / 1.123 GB, free: 5.742 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.927e-05/0.6705, allocations: 20 kB / 1.123 GB, free: 5.723 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.519e-05/0.6705, allocations: 35.98 kB / 1.123 GB, free: 5.688 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002212/0.6728, allocations: 0.5186 MB / 1.124 GB, free: 5.168 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.602e-05/0.6728, allocations: 43.86 kB / 1.124 GB, free: 5.125 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009679/0.6738, allocations: 159.4 kB / 1.124 GB, free: 4.969 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.6739, allocations: 87.98 kB / 1.124 GB, free: 4.883 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 7.515e-06/0.6739, allocations: 5.719 kB / 1.124 GB, free: 4.879 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003062/0.677, allocations: 2.389 MB / 1.126 GB, free: 2.484 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.112e-05/0.677, allocations: 23.98 kB / 1.126 GB, free: 2.461 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/0.677, allocations: 32 kB / 1.127 GB, free: 2.43 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002131/0.6792, allocations: 0.5195 MB / 1.127 GB, free: 1.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.724e-05/0.6792, allocations: 39.86 kB / 1.127 GB, free: 1.871 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007983/0.68, allocations: 127.7 kB / 1.127 GB, free: 1.746 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/0.6802, allocations: 95.97 kB / 1.127 GB, free: 1.652 MB / 0.8731 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.001543/0.6817, allocations: 1.222 MB / 1.128 GB, free: 428 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001963/0.6819, allocations: 94.88 kB / 1.129 GB, free: 332 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002616/0.6845, allocations: 1.825 MB / 1.13 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.6846, allocations: 12 kB / 1.13 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.6846, allocations: 4 kB / 1.13 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.6846, allocations: 7.984 kB / 1.13 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009725/0.6943, allocations: 9.054 MB / 1.139 GB, free: 4.375 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/0.6943, allocations: 8 kB / 1.139 GB, free: 4.367 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009758/0.6953, allocations: 251.7 kB / 1.139 GB, free: 4.121 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.449e-05/0.6954, allocations: 16 kB / 1.139 GB, free: 4.105 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.535e-05/0.6954, allocations: 32 kB / 1.139 GB, free: 4.074 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-05/0.6954, allocations: 15.94 kB / 1.14 GB, free: 4.059 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.098e-05/0.6954, allocations: 15.94 kB / 1.14 GB, free: 4.043 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001945/0.6974, allocations: 1.778 MB / 1.141 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004411/0.6978, allocations: 323.8 kB / 1.142 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.698, allocations: 39.92 kB / 1.142 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006957/0.6987, allocations: 71.91 kB / 1.142 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.6988, allocations: 91.61 kB / 1.142 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-05/0.6989, allocations: 43.98 kB / 1.142 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000865/0.6998, allocations: 0.7214 MB / 1.143 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6998, allocations: 4 kB / 1.143 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002913/0.7027, allocations: 0.8086 MB / 1.143 GB, free: 4 kB / 0.8887 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.002712/0.7054, allocations: 2.373 MB / 1.146 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.004522/0.7099, allocations: 2.964 MB / 1.149 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.168e-05/0.71, allocations: 8.125 kB / 1.149 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0007653/0.7107, allocations: 0.5758 MB / 1.149 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002425/0.7132, allocations: 187.5 kB / 1.149 GB, free: 9.754 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01944/0.7326, allocations: 16.23 MB / 1.165 GB, free: 8.492 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001876/0.7345, allocations: 2.101 MB / 1.167 GB, free: 6.355 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002276/0.7368, allocations: 1.031 MB / 1.168 GB, free: 5.32 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000904/0.7377, allocations: 0.757 MB / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of SimCode: time 6.11e-07/0.7377, allocations: 0 / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.429/2.167, allocations: 28.19 MB / 1.196 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002368/2.167, allocations: 228.4 kB / 1.197 GB, free: 8.375 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.162/4.329, allocations: 0 / 1.197 GB, free: 8.375 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches