Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.Loads.Examples.Loads_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",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.0008074/0.0008074, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.000826/0.000826, allocations: 172.7 kB / 15.95 MB, free: 192 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.404/1.404, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.639/2.639, allocations: 409.4 MB / 0.684 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004141/0.0004142, allocations: 12 kB / 0.8378 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6993/0.6997, allocations: 146.8 MB / 0.9811 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02009/0.7199, allocations: 18.53 MB / 0.9992 GB, free: 3.656 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.0113/0.7312, allocations: 7.142 MB / 1.006 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001589/0.7329, allocations: 47.81 kB / 1.006 GB, free: 12.45 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.00088/0.7338, allocations: 361.3 kB / 1.007 GB, free: 12.09 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.001848/0.7356, allocations: 0.743 MB / 1.007 GB, free: 11.35 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002732/0.7384, allocations: 1.016 MB / 1.008 GB, free: 10.33 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.00503/0.7434, allocations: 4.931 MB / 1.013 GB, free: 5.391 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009419/0.7529, allocations: 6.557 MB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00254/0.7554, allocations: 1.273 MB / 1.021 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002713/0.7582, allocations: 1.842 MB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0003484/0.7585, allocations: 176 kB / 1.023 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.7596, allocations: 423.6 kB / 1.023 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.001412/0.7611, allocations: 1.333 MB / 1.024 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0006875/0.7618, allocations: 0.555 MB / 1.025 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.004509/0.7663, allocations: 5.137 MB / 1.03 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.7663, allocations: 0 / 1.03 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.893e-06/0.7663, allocations: 0 / 1.03 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001343/0.7665, allocations: 0 / 1.03 GB, free: 4.004 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.004788/0.7713, allocations: 2.466 MB / 1.032 GB, free: 1.477 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.7713, allocations: 12.03 kB / 1.032 GB, free: 1.465 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006933/0.772, allocations: 449.7 kB / 1.033 GB, free: 1.016 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002827/0.7748, allocations: 0.6796 MB / 1.034 GB, free: 340 kB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002568/0.7774, allocations: 1.516 MB / 1.035 GB, free: 14.77 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000167/0.7776, allocations: 221.7 kB / 1.035 GB, free: 14.55 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004839/0.7781, allocations: 283.9 kB / 1.035 GB, free: 14.28 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008342/0.7865, allocations: 5.031 MB / 1.04 GB, free: 9.055 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-05/0.7865, allocations: 7.938 kB / 1.04 GB, free: 9.047 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003086/0.7869, allocations: 128 kB / 1.041 GB, free: 8.922 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000236/0.7871, allocations: 204.6 kB / 1.041 GB, free: 8.719 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006621/0.7937, allocations: 4.165 MB / 1.045 GB, free: 4.539 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02358/0.8173, allocations: 23.01 MB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002741/0.8201, allocations: 1.731 MB / 1.069 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001563/0.8217, allocations: 1.126 MB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001926/0.8219, allocations: 101.7 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/0.822, allocations: 43.22 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=84): time 3.566e-06/0.822, allocations: 0 / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of matching and sorting (n=87): time 0.005858/0.8279, allocations: 3.997 MB / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.04e-05/0.828, allocations: 141.2 kB / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.8291, allocations: 0.8447 MB / 1.075 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.002e-05/0.8292, allocations: 45.64 kB / 1.075 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007886/0.83, allocations: 1.158 MB / 1.076 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003095/0.8303, allocations: 311.6 kB / 1.077 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.784e-05/0.8304, allocations: 28 kB / 1.077 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002129/0.8306, allocations: 402.7 kB / 1.077 GB, free: 1.289 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001147/0.8318, allocations: 0.7911 MB / 1.078 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001696/0.8335, allocations: 1.291 MB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001413/0.8349, allocations: 0.9983 MB / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.8349, allocations: 4 kB / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003389/0.8383, allocations: 2.175 MB / 1.082 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003807/0.8387, allocations: 0.4907 MB / 1.083 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/0.8388, allocations: 16 kB / 1.083 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.912e-05/0.8388, allocations: 31.94 kB / 1.083 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/0.8403, allocations: 407.3 kB / 1.083 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.078e-05/0.8403, allocations: 27.92 kB / 1.083 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/0.8413, allocations: 199.3 kB / 1.083 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.8414, allocations: 63.92 kB / 1.083 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.366e-06/0.8415, allocations: 4 kB / 1.083 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002516/0.844, allocations: 1.761 MB / 1.085 GB, free: 8.617 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.844, allocations: 15.94 kB / 1.085 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.844, allocations: 24 kB / 1.085 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/0.8452, allocations: 356 kB / 1.085 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.594e-05/0.8453, allocations: 35.86 kB / 1.085 GB, free: 8.195 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009229/0.8462, allocations: 147.4 kB / 1.086 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-05/0.8463, allocations: 59.98 kB / 1.086 GB, free: 7.992 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * 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.002383/0.8487, allocations: 1.176 MB / 1.087 GB, free: 6.805 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003283/0.849, allocations: 98.78 kB / 1.087 GB, free: 6.707 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003005/0.852, allocations: 1.854 MB / 1.089 GB, free: 4.836 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.8521, allocations: 8 kB / 1.089 GB, free: 4.828 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.8521, allocations: 3.984 kB / 1.089 GB, free: 4.824 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/0.8521, allocations: 7.984 kB / 1.089 GB, free: 4.816 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01326/0.8654, allocations: 9.584 MB / 1.098 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.537e-05/0.8654, allocations: 12 kB / 1.098 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/0.8666, allocations: 311.5 kB / 1.098 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.101e-05/0.8666, allocations: 20.47 kB / 1.098 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.34e-05/0.8667, allocations: 36 kB / 1.098 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.907e-05/0.8668, allocations: 23.92 kB / 1.098 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.211e-05/0.8668, allocations: 15.94 kB / 1.098 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002865/0.8696, allocations: 2.398 MB / 1.101 GB, free: 8.016 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006168/0.8703, allocations: 387.5 kB / 1.101 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/0.8705, allocations: 31.98 kB / 1.101 GB, free: 7.586 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009164/0.8714, allocations: 135.8 kB / 1.101 GB, free: 7.453 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001858/0.8716, allocations: 91.7 kB / 1.101 GB, free: 7.363 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.418e-05/0.8717, allocations: 36 kB / 1.101 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0008673/0.8725, allocations: 0.5849 MB / 1.102 GB, free: 6.75 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8726, allocations: 0 / 1.102 GB, free: 6.75 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002687/0.8753, allocations: 0.7461 MB / 1.103 GB, free: 6.004 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (90): * Single equations (assignments): 90 * 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.003139/0.8784, allocations: 2.985 MB / 1.106 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.004048/0.8825, allocations: 2.831 MB / 1.108 GB, free: 32 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/0.8825, allocations: 0 / 1.108 GB, free: 32 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001277/0.8838, allocations: 0.9159 MB / 1.109 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001735/0.8855, allocations: 272.2 kB / 1.11 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01787/0.9034, allocations: 11.47 MB / 1.121 GB, free: 2.848 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002002/0.9055, allocations: 2.135 MB / 1.123 GB, free: 0.6797 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001903/0.9074, allocations: 0.7344 MB / 1.124 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001164/0.9086, allocations: 0.8273 MB / 1.124 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of SimCode: time 2.034e-06/0.9086, allocations: 0 / 1.124 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04953/0.9581, allocations: 31.13 MB / 1.155 GB, free: 352 kB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/0.9583, allocations: 209 kB / 1.155 GB, free: 112 kB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.405/3.364, allocations: 0 / 1.155 GB, free: 112 kB / 0.9044 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat does not exist to compare? outputFormat=mat