Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.Interfaces.Examples.WyeToDelta,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta",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.001027/0.001027, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001245/0.001245, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 223.2 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.579/2.579, allocations: 409.4 MB / 0.684 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000489/0.000489, allocations: 12 kB / 0.8378 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8234/0.824, allocations: 146.8 MB / 0.9811 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.005649/0.8297, allocations: 4.639 MB / 0.9857 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002502/0.8322, allocations: 1.587 MB / 0.9872 GB, free: 0 / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002283/0.8325, allocations: 12.05 kB / 0.9872 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0002806/0.8328, allocations: 99.22 kB / 0.9873 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0004861/0.8333, allocations: 199.2 kB / 0.9875 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004544/0.8337, allocations: 159.7 kB / 0.9877 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.00178/0.8355, allocations: 1.98 MB / 0.9896 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003915/0.8394, allocations: 2.744 MB / 0.9923 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009036/0.8404, allocations: 0.5217 MB / 0.9928 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009908/0.8414, allocations: 0.7791 MB / 0.9936 GB, free: 9.48 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001333/0.8415, allocations: 84 kB / 0.9936 GB, free: 9.398 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004228/0.8419, allocations: 167.9 kB / 0.9938 GB, free: 9.234 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0005767/0.8425, allocations: 0.5964 MB / 0.9944 GB, free: 8.637 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002466/0.8428, allocations: 241.2 kB / 0.9946 GB, free: 8.395 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001893/0.8447, allocations: 2.27 MB / 0.9968 GB, free: 6.121 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.8447, allocations: 0 / 0.9968 GB, free: 6.121 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.803e-06/0.8447, allocations: 0 / 0.9968 GB, free: 6.121 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.958e-05/0.8447, allocations: 0 / 0.9968 GB, free: 6.121 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.001864/0.8466, allocations: 1.152 MB / 0.998 GB, free: 4.918 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.8467, allocations: 8.031 kB / 0.998 GB, free: 4.91 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002887/0.847, allocations: 210.1 kB / 0.9982 GB, free: 4.695 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001462/0.8484, allocations: 306.3 kB / 0.9985 GB, free: 4.395 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.8495, allocations: 0.7099 MB / 0.9991 GB, free: 3.645 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.259e-05/0.8496, allocations: 94.44 kB / 0.9992 GB, free: 3.551 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001773/0.8498, allocations: 120 kB / 0.9994 GB, free: 3.434 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003325/0.8531, allocations: 2.125 MB / 1.001 GB, free: 1.266 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/0.8532, allocations: 4 kB / 1.001 GB, free: 1.262 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001298/0.8533, allocations: 48 kB / 1.001 GB, free: 1.215 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.179e-05/0.8534, allocations: 62.05 kB / 1.002 GB, free: 1.152 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002828/0.8562, allocations: 1.858 MB / 1.003 GB, free: 15.29 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00857/0.8648, allocations: 7.748 MB / 1.011 GB, free: 6.918 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.8651, allocations: 130.4 kB / 1.011 GB, free: 6.754 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.8652, allocations: 79.52 kB / 1.011 GB, free: 6.664 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001109/0.8653, allocations: 96.98 kB / 1.011 GB, free: 6.551 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.8653, allocations: 30.56 kB / 1.011 GB, free: 6.512 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=9): time 2.194e-06/0.8653, allocations: 0 / 1.011 GB, free: 6.512 MB / 0.7637 GB Notification: Performance of matching and sorting (n=9): time 0.0005478/0.8659, allocations: 276.8 kB / 1.012 GB, free: 6.234 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.927e-05/0.866, allocations: 132.5 kB / 1.012 GB, free: 6.074 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.867, allocations: 0.9044 MB / 1.013 GB, free: 5.16 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.867, allocations: 25.7 kB / 1.013 GB, free: 5.129 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004811/0.8675, allocations: 0.7625 MB / 1.013 GB, free: 4.352 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 4.631e-05/0.8676, allocations: 51.53 kB / 1.013 GB, free: 4.301 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.743e-05/0.8676, allocations: 24 kB / 1.013 GB, free: 4.277 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.8678, allocations: 375.2 kB / 1.014 GB, free: 3.902 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005532/0.8684, allocations: 422.3 kB / 1.014 GB, free: 3.488 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.8694, allocations: 1.157 MB / 1.015 GB, free: 1.961 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008564/0.8702, allocations: 0.7308 MB / 1.016 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/0.8703, allocations: 8 kB / 1.016 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002051/0.8723, allocations: 1.531 MB / 1.017 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.28e-05/0.8724, allocations: 19.95 kB / 1.017 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.87e-05/0.8724, allocations: 28.25 kB / 1.018 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.473e-05/0.8725, allocations: 40 kB / 1.018 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007743/0.8732, allocations: 287.4 kB / 1.018 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.231e-05/0.8733, allocations: 55.78 kB / 1.018 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000754/0.874, allocations: 190.8 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.47e-05/0.8741, allocations: 72 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 121 * 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 (147): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007955/0.8749, allocations: 0.6375 MB / 1.019 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.8751, allocations: 55.34 kB / 1.019 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002689/0.8754, allocations: 141.6 kB / 1.019 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.8754, allocations: 0 / 1.019 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.8754, allocations: 4 kB / 1.019 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.8754, allocations: 0 / 1.019 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.8764, allocations: 0.7705 MB / 1.02 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.8764, allocations: 7.938 kB / 1.02 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.659e-05/0.8765, allocations: 4 kB / 1.02 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.8765, allocations: 0 / 1.02 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.8765, allocations: 0 / 1.02 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.8765, allocations: 11.95 kB / 1.02 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.8765, allocations: 0 / 1.02 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/0.8768, allocations: 357.5 kB / 1.02 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/0.877, allocations: 152.4 kB / 1.02 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.143e-05/0.877, allocations: 0 / 1.02 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/0.8773, allocations: 19.91 kB / 1.02 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.069e-05/0.8773, allocations: 11.95 kB / 1.02 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.8773, allocations: 4 kB / 1.02 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0007357/0.8781, allocations: 0.6356 MB / 1.021 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8781, allocations: 0 / 1.021 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001043/0.8791, allocations: 282.9 kB / 1.021 GB, free: 11.82 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005685/0.8797, allocations: 0.8979 MB / 1.022 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009789/0.8807, allocations: 0.7153 MB / 1.023 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.8807, allocations: 0 / 1.023 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.673e-05/0.8807, allocations: 21.61 kB / 1.023 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004902/0.8812, allocations: 39.05 kB / 1.023 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006924/0.8882, allocations: 4.998 MB / 1.028 GB, free: 4.688 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/0.8893, allocations: 1.288 MB / 1.029 GB, free: 3.371 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000818/0.8901, allocations: 369.2 kB / 1.029 GB, free: 3.008 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003494/0.8905, allocations: 291.3 kB / 1.03 GB, free: 2.723 MB / 0.7794 GB Notification: Performance of SimCode: time 9.12e-07/0.8905, allocations: 0 / 1.03 GB, free: 2.723 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02787/0.9184, allocations: 13.2 MB / 1.042 GB, free: 5.715 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002931/0.9187, allocations: 232.4 kB / 1.043 GB, free: 5.465 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.889/2.808, allocations: 0 / 1.043 GB, free: 5.465 MB / 0.795 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.mat does not exist to compare? outputFormat=mat