Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.354/2.354, allocations: 390.3 MB / 402.8 MB, free: 6.684 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 184.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.581/1.581, allocations: 221.3 MB / 0.7915 GB, free: 5.398 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000889/0.0008891, allocations: 83.97 kB / 0.9317 GB, free: 5.723 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.702e-05/3.711e-05, allocations: 5.562 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3145, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.048/1.363, allocations: 174.7 MB / 1.389 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/1.363, allocations: 97.31 kB / 1.39 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.2797/1.643, allocations: 113.2 MB / 1.5 GB, free: 1.684 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.963e-06/1.643, allocations: 0 / 1.5 GB, free: 1.684 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001168/1.643, allocations: 43.98 kB / 1.5 GB, free: 1.641 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.003675/1.647, allocations: 1.569 MB / 1.502 GB, free: 20 kB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/1.647, allocations: 8.031 kB / 1.502 GB, free: 12 kB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003967/1.647, allocations: 211.2 kB / 1.502 GB, free: 15.79 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004999/1.652, allocations: 0.6261 MB / 1.502 GB, free: 15.16 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002326/1.655, allocations: 0.8842 MB / 1.503 GB, free: 14.23 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.763e-05/1.655, allocations: 94.47 kB / 1.503 GB, free: 14.14 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002336/1.655, allocations: 127.9 kB / 1.504 GB, free: 14.02 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003781/1.659, allocations: 2.306 MB / 1.506 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.127e-05/1.659, allocations: 15.86 kB / 1.506 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001759/1.659, allocations: 59.98 kB / 1.506 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002445/1.659, allocations: 146.3 kB / 1.506 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003214/1.663, allocations: 1.816 MB / 1.508 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01407/1.677, allocations: 12.52 MB / 1.52 GB, free: 11.9 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003926/1.681, allocations: 1.836 MB / 1.522 GB, free: 10.05 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009324/1.682, allocations: 0.6011 MB / 1.522 GB, free: 9.449 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002065/1.682, allocations: 98.09 kB / 1.522 GB, free: 9.336 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.312e-05/1.682, allocations: 43.56 kB / 1.523 GB, free: 9.285 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=103): time 3.376e-06/1.682, allocations: 4 kB / 1.523 GB, free: 9.281 MB / 0.9792 GB Notification: Performance of matching and sorting (n=110): time 0.004706/1.687, allocations: 2.382 MB / 1.525 GB, free: 6.879 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/1.687, allocations: 76.22 kB / 1.525 GB, free: 6.789 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/1.688, allocations: 0.7753 MB / 1.526 GB, free: 5.996 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 7.242e-05/1.688, allocations: 41.7 kB / 1.526 GB, free: 5.949 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005373/1.689, allocations: 0.7122 MB / 1.526 GB, free: 5.227 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.000354/1.689, allocations: 386.5 kB / 1.527 GB, free: 4.844 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.04e-05/1.689, allocations: 28 kB / 1.527 GB, free: 4.816 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001896/1.689, allocations: 369.9 kB / 1.527 GB, free: 4.449 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009068/1.69, allocations: 0.5857 MB / 1.528 GB, free: 3.863 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/1.691, allocations: 1.024 MB / 1.529 GB, free: 2.641 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/1.692, allocations: 0.7426 MB / 1.529 GB, free: 1.898 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/1.692, allocations: 4 kB / 1.529 GB, free: 1.895 MB / 0.9792 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.00346/1.696, allocations: 2.01 MB / 1.531 GB, free: 15.85 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/1.696, allocations: 8 kB / 1.531 GB, free: 15.84 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.099e-05/1.696, allocations: 16 kB / 1.531 GB, free: 15.83 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008458/1.697, allocations: 258.8 kB / 1.532 GB, free: 15.55 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/1.698, allocations: 359.3 kB / 1.532 GB, free: 15.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009241/1.708, allocations: 10.74 MB / 1.543 GB, free: 3.395 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/1.709, allocations: 123.8 kB / 1.543 GB, free: 3.273 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001713/1.709, allocations: 64 kB / 1.543 GB, free: 3.211 MB / 0.9948 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 171 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003216/1.71, allocations: 205.8 kB / 1.543 GB, free: 3.004 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002184/1.71, allocations: 126.5 kB / 1.543 GB, free: 2.879 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003148/1.713, allocations: 1.657 MB / 1.545 GB, free: 1.188 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/1.713, allocations: 11.95 kB / 1.545 GB, free: 1.176 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/1.713, allocations: 4 kB / 1.545 GB, free: 1.172 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.564e-05/1.713, allocations: 11.97 kB / 1.545 GB, free: 1.16 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005899/1.719, allocations: 3.27 MB / 1.548 GB, free: 13.74 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/1.719, allocations: 4 kB / 1.548 GB, free: 13.74 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008919/1.72, allocations: 223.6 kB / 1.548 GB, free: 13.52 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007293/1.721, allocations: 239.3 kB / 1.548 GB, free: 13.26 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.357e-05/1.721, allocations: 27.98 kB / 1.548 GB, free: 13.23 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009147/1.73, allocations: 10.73 MB / 1.559 GB, free: 1.441 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.818e-06/1.73, allocations: 11.94 kB / 1.559 GB, free: 1.43 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003416/1.734, allocations: 2.045 MB / 1.561 GB, free: 15.16 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008039/1.734, allocations: 327.3 kB / 1.561 GB, free: 14.82 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/1.735, allocations: 23.94 kB / 1.561 GB, free: 14.8 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007602/1.735, allocations: 95.86 kB / 1.561 GB, free: 14.7 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002345/1.736, allocations: 92.56 kB / 1.561 GB, free: 14.61 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.107e-05/1.736, allocations: 36 kB / 1.561 GB, free: 14.58 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0009198/1.737, allocations: 0.6032 MB / 1.562 GB, free: 13.96 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.6e-07/1.737, allocations: 0 / 1.562 GB, free: 13.96 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.001707/1.738, allocations: 404 kB / 1.562 GB, free: 13.57 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 101 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003943/1.742, allocations: 4.146 MB / 1.566 GB, free: 9.219 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.003616/1.746, allocations: 2.424 MB / 1.569 GB, free: 6.691 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/1.746, allocations: 0 / 1.569 GB, free: 6.691 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.002124/1.748, allocations: 1.601 MB / 1.57 GB, free: 4.988 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001683/1.75, allocations: 311.3 kB / 1.571 GB, free: 4.688 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005383/1.755, allocations: 2.487 MB / 1.573 GB, free: 2.086 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/1.756, allocations: 1.364 MB / 1.574 GB, free: 0.6875 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.001174/1.757, allocations: 358.9 kB / 1.575 GB, free: 340 kB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000748/1.758, allocations: 0.5189 MB / 1.575 GB, free: 15.81 MB / 1.042 GB Notification: Performance of SimCode: time 1.012e-06/1.758, allocations: 0 / 1.575 GB, free: 15.81 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06213/1.82, allocations: 26.89 MB / 1.601 GB, free: 5.289 MB / 1.057 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002311/1.821, allocations: 204.2 kB / 1.602 GB, free: 5.062 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.109/4.93, allocations: 4 kB / 1.602 GB, free: 5.059 MB / 1.057 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat does not exist to compare? outputFormat=mat