Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,fileNamePrefix="Buildings_11_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.006531/0.006531, allocations: 97.62 kB / 15.73 MB, free: 6.004 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.001722/0.001723, allocations: 195.2 kB / 16.67 MB, free: 5.934 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.282/1.282, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.662/2.662, allocations: 469.8 MB / 0.7425 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 59.91 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.817/0.8189, allocations: 159.1 MB / 1.22 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.02006/0.839, allocations: 16.42 MB / 1.236 GB, free: 1.559 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008888/0.8479, allocations: 5.716 MB / 1.242 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006613/0.8486, allocations: 47.88 kB / 1.242 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00359/0.8522, allocations: 1.533 MB / 1.243 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001527/0.8537, allocations: 0.8364 MB / 1.244 GB, free: 9.402 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002156/0.8559, allocations: 1.054 MB / 1.245 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003815/0.8597, allocations: 3.914 MB / 1.249 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006027/0.8658, allocations: 5.613 MB / 1.254 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002127/0.8679, allocations: 1.749 MB / 1.256 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002531/0.8704, allocations: 2.096 MB / 1.258 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0005196/0.871, allocations: 416 kB / 1.259 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001705/0.8727, allocations: 1.065 MB / 1.26 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001514/0.8742, allocations: 1.661 MB / 1.261 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001592/0.8758, allocations: 1.6 MB / 1.263 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.005547/0.8814, allocations: 6.069 MB / 1.269 GB, free: 36 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.8814, allocations: 4 kB / 1.269 GB, free: 32 kB / 0.9825 GB Notification: Performance of FrontEnd: time 1.282e-06/0.8814, allocations: 0 / 1.269 GB, free: 32 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.502e-05/0.8815, allocations: 0 / 1.269 GB, free: 32 kB / 0.9825 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.004918/0.8864, allocations: 2.829 MB / 1.272 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.8864, allocations: 12.03 kB / 1.272 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005375/0.887, allocations: 436.9 kB / 1.272 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002983/0.89, allocations: 0.6705 MB / 1.273 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002152/0.8921, allocations: 1.446 MB / 1.274 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001632/0.8923, allocations: 210 kB / 1.274 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004026/0.8927, allocations: 264.4 kB / 1.275 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007095/0.8998, allocations: 4.727 MB / 1.279 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.916e-05/0.8999, allocations: 4 kB / 1.279 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002884/0.9002, allocations: 108 kB / 1.279 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001694/0.9003, allocations: 148.6 kB / 1.279 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006103/0.9064, allocations: 4.081 MB / 1.283 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02127/0.9277, allocations: 20.15 MB / 1.303 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003231/0.931, allocations: 1.899 MB / 1.305 GB, free: 8.719 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00112/0.9321, allocations: 0.7742 MB / 1.306 GB, free: 7.934 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001464/0.9323, allocations: 97.73 kB / 1.306 GB, free: 7.82 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.122e-05/0.9323, allocations: 47.22 kB / 1.306 GB, free: 7.766 MB / 1.029 GB Notification: Performance of pre-optimization done (n=77): time 2.705e-06/0.9324, allocations: 0 / 1.306 GB, free: 7.766 MB / 1.029 GB Notification: Performance of matching and sorting (n=92): time 0.01722/0.9496, allocations: 5.282 MB / 1.311 GB, free: 2.484 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.525e-05/0.9497, allocations: 153.4 kB / 1.311 GB, free: 2.301 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.9509, allocations: 0.9725 MB / 1.312 GB, free: 1.316 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.722e-05/0.9509, allocations: 41.7 kB / 1.312 GB, free: 1.27 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007779/0.9517, allocations: 1.231 MB / 1.313 GB, free: 24 kB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000289/0.952, allocations: 349.1 kB / 1.314 GB, free: 15.68 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005166/0.9525, allocations: 359.5 kB / 1.314 GB, free: 15.32 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.9527, allocations: 333.9 kB / 1.314 GB, free: 14.99 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/0.9539, allocations: 0.8714 MB / 1.315 GB, free: 14.11 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001728/0.9557, allocations: 1.518 MB / 1.317 GB, free: 12.31 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003005/0.9587, allocations: 2.449 MB / 1.319 GB, free: 9.562 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/0.9587, allocations: 8 kB / 1.319 GB, free: 9.555 MB / 1.045 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003583/0.9623, allocations: 2.509 MB / 1.321 GB, free: 7.039 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.9623, allocations: 16 kB / 1.321 GB, free: 7.023 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.28e-05/0.9623, allocations: 20 kB / 1.321 GB, free: 7.004 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.658e-05/0.9624, allocations: 32 kB / 1.322 GB, free: 6.973 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002262/0.9646, allocations: 0.5148 MB / 1.322 GB, free: 6.457 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.123e-05/0.9647, allocations: 47.8 kB / 1.322 GB, free: 6.41 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000947/0.9657, allocations: 159.7 kB / 1.322 GB, free: 6.254 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/0.9658, allocations: 87.98 kB / 1.322 GB, free: 6.168 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002537/0.9683, allocations: 1.901 MB / 1.324 GB, free: 4.262 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001726/0.9701, allocations: 1.499 MB / 1.326 GB, free: 2.473 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002944/0.973, allocations: 2.43 MB / 1.328 GB, free: 15.75 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.096e-05/0.973, allocations: 7.938 kB / 1.328 GB, free: 15.74 MB / 1.061 GB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.003537/0.9766, allocations: 2.489 MB / 1.33 GB, free: 13.24 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.9766, allocations: 16 kB / 1.33 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/0.9766, allocations: 20 kB / 1.33 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.766e-05/0.9767, allocations: 35.98 kB / 1.331 GB, free: 13.17 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002227/0.9789, allocations: 0.5109 MB / 1.331 GB, free: 12.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.779e-05/0.979, allocations: 52.06 kB / 1.331 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009203/0.9799, allocations: 147.8 kB / 1.331 GB, free: 12.46 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/0.98, allocations: 83.98 kB / 1.331 GB, free: 12.38 MB / 1.061 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.0003271/0.9804, allocations: 300 kB / 1.332 GB, free: 12.08 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000217/0.9806, allocations: 99.39 kB / 1.332 GB, free: 11.98 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002769/0.9834, allocations: 1.833 MB / 1.333 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.9834, allocations: 12 kB / 1.333 GB, free: 10.1 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.9834, allocations: 4 kB / 1.333 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.9834, allocations: 3.984 kB / 1.333 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01058/0.994, allocations: 9.047 MB / 1.342 GB, free: 36 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/0.994, allocations: 16.06 kB / 1.342 GB, free: 20 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/0.995, allocations: 255.5 kB / 1.343 GB, free: 15.77 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.607e-05/0.995, allocations: 16 kB / 1.343 GB, free: 15.75 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-05/0.9951, allocations: 24 kB / 1.343 GB, free: 15.73 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-05/0.9951, allocations: 19.94 kB / 1.343 GB, free: 15.71 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.631e-05/0.9952, allocations: 23.86 kB / 1.343 GB, free: 15.69 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001952/0.9971, allocations: 1.772 MB / 1.344 GB, free: 13.76 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003762/0.9975, allocations: 292.4 kB / 1.345 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/0.9976, allocations: 31.98 kB / 1.345 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006611/0.9983, allocations: 71.91 kB / 1.345 GB, free: 13.36 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.9985, allocations: 91.61 kB / 1.345 GB, free: 13.27 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.886e-05/0.9985, allocations: 36 kB / 1.345 GB, free: 13.23 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0008984/0.9994, allocations: 0.7293 MB / 1.346 GB, free: 12.5 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9994, allocations: 0 / 1.346 GB, free: 12.5 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002336/1.002, allocations: 0.8046 MB / 1.346 GB, free: 11.7 MB / 1.076 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.002456/1.004, allocations: 2.39 MB / 1.349 GB, free: 9.145 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004194/1.008, allocations: 2.999 MB / 1.352 GB, free: 6.16 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.008, allocations: 0 / 1.352 GB, free: 6.16 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007663/1.009, allocations: 0.5764 MB / 1.352 GB, free: 5.586 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/1.01, allocations: 184.9 kB / 1.352 GB, free: 5.418 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01879/1.029, allocations: 14.85 MB / 1.367 GB, free: 5.578 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002048/1.031, allocations: 2.109 MB / 1.369 GB, free: 3.434 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.002095/1.033, allocations: 1.019 MB / 1.37 GB, free: 2.41 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001001/1.034, allocations: 0.7609 MB / 1.371 GB, free: 1.648 MB / 1.092 GB Notification: Performance of SimCode: time 7.01e-07/1.034, allocations: 0 / 1.371 GB, free: 1.648 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.815/5.85, allocations: 29.85 MB / 1.4 GB, free: 4.027 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.7/19.55, allocations: 9.172 kB / 1.4 GB, free: 4.02 MB / 1.123 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches