Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.444/2.444, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001347/0.001347, allocations: 180.7 kB / 487.4 MB, free: 5.035 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.689/1.689, allocations: 221.5 MB / 0.7824 GB, free: 0.9492 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 95.59 kB / 0.9219 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.864e-05/1.865e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2827, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.032/1.315, allocations: 173.2 MB / 1.375 GB, free: 17.95 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003812/1.315, allocations: 91.11 kB / 1.375 GB, free: 17.95 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2584/1.573, allocations: 112.8 MB / 1.485 GB, free: 112 kB / 0.8855 GB Notification: Performance of FrontEnd: time 1.713e-06/1.573, allocations: 0 / 1.485 GB, free: 112 kB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.861e-05/1.574, allocations: 47.75 kB / 1.486 GB, free: 68 kB / 0.8855 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.003288/1.577, allocations: 1.551 MB / 1.487 GB, free: 14.47 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 6.416e-05/1.577, allocations: 16.02 kB / 1.487 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004559/1.582, allocations: 0.6183 MB / 1.488 GB, free: 13.84 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001659/1.583, allocations: 0.8866 MB / 1.489 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.962e-05/1.583, allocations: 44 kB / 1.489 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/1.583, allocations: 72 kB / 1.489 GB, free: 12.81 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002271/1.586, allocations: 1.345 MB / 1.49 GB, free: 11.46 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003056/1.589, allocations: 2.122 MB / 1.492 GB, free: 9.043 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.316e-05/1.589, allocations: 11.88 kB / 1.492 GB, free: 9.031 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/1.589, allocations: 11.98 kB / 1.492 GB, free: 9.02 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002007/1.589, allocations: 142.3 kB / 1.492 GB, free: 8.879 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01249/1.602, allocations: 12.21 MB / 1.504 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003669/1.605, allocations: 1.806 MB / 1.506 GB, free: 9.977 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007863/1.606, allocations: 0.5747 MB / 1.506 GB, free: 9.402 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001844/1.606, allocations: 101.9 kB / 1.507 GB, free: 9.285 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/1.606, allocations: 43.88 kB / 1.507 GB, free: 9.234 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=103): time 3.948e-06/1.606, allocations: 0 / 1.507 GB, free: 9.234 MB / 0.9167 GB Notification: Performance of matching and sorting (n=110): time 0.004754/1.611, allocations: 2.415 MB / 1.509 GB, free: 6.809 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/1.611, allocations: 64.72 kB / 1.509 GB, free: 6.73 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008568/1.612, allocations: 0.6483 MB / 1.51 GB, free: 6.062 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 5.835e-05/1.612, allocations: 25.7 kB / 1.51 GB, free: 6.031 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005239/1.613, allocations: 0.7236 MB / 1.51 GB, free: 5.297 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003022/1.613, allocations: 362.6 kB / 1.511 GB, free: 4.938 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.865e-05/1.613, allocations: 4 kB / 1.511 GB, free: 4.934 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001754/1.613, allocations: 365.9 kB / 1.511 GB, free: 4.57 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007769/1.614, allocations: 0.5545 MB / 1.512 GB, free: 4.016 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/1.615, allocations: 0.9934 MB / 1.513 GB, free: 2.832 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001671/1.617, allocations: 0.8531 MB / 1.513 GB, free: 1.977 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.036e-05/1.617, allocations: 4 kB / 1.513 GB, free: 1.973 MB / 0.9167 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.003811/1.621, allocations: 2.006 MB / 1.515 GB, free: 15.93 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.519e-05/1.621, allocations: 10.09 kB / 1.515 GB, free: 15.92 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.542e-05/1.621, allocations: 20 kB / 1.515 GB, free: 15.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008278/1.622, allocations: 254.6 kB / 1.516 GB, free: 15.63 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/1.623, allocations: 355.4 kB / 1.516 GB, free: 15.28 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008883/1.632, allocations: 10.32 MB / 1.526 GB, free: 4.055 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/1.633, allocations: 95.84 kB / 1.526 GB, free: 3.961 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000316/1.634, allocations: 67.98 kB / 1.526 GB, free: 3.895 MB / 0.9323 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.000519/1.634, allocations: 152.5 kB / 1.526 GB, free: 3.738 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003167/1.637, allocations: 1.47 MB / 1.528 GB, free: 2.238 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003385/1.638, allocations: 122.5 kB / 1.528 GB, free: 2.117 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003394/1.641, allocations: 1.639 MB / 1.529 GB, free: 448 kB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/1.641, allocations: 12 kB / 1.529 GB, free: 436 kB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/1.641, allocations: 4 kB / 1.529 GB, free: 432 kB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.528e-05/1.641, allocations: 3.984 kB / 1.53 GB, free: 428 kB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006019/1.647, allocations: 3.042 MB / 1.532 GB, free: 13.27 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.427e-05/1.647, allocations: 8.688 kB / 1.532 GB, free: 13.26 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009058/1.648, allocations: 219.6 kB / 1.533 GB, free: 13.04 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007218/1.649, allocations: 242.6 kB / 1.533 GB, free: 12.78 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.557e-05/1.649, allocations: 15.94 kB / 1.533 GB, free: 12.77 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008275/1.657, allocations: 10.3 MB / 1.543 GB, free: 1.551 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.156e-05/1.657, allocations: 11.94 kB / 1.543 GB, free: 1.539 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003494/1.661, allocations: 2.03 MB / 1.545 GB, free: 15.27 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007382/1.662, allocations: 327.3 kB / 1.545 GB, free: 14.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002966/1.662, allocations: 4 kB / 1.545 GB, free: 14.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009072/1.663, allocations: 71.88 kB / 1.545 GB, free: 14.86 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002206/1.663, allocations: 92.56 kB / 1.545 GB, free: 14.77 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.148e-05/1.663, allocations: 40 kB / 1.546 GB, free: 14.73 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0008486/1.664, allocations: 0.4899 MB / 1.546 GB, free: 14.23 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.41e-07/1.664, allocations: 0 / 1.546 GB, free: 14.23 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001724/1.666, allocations: 364 kB / 1.546 GB, free: 13.88 MB / 0.9636 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.004558/1.67, allocations: 4.117 MB / 1.55 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003588/1.674, allocations: 2.297 MB / 1.553 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.667e-06/1.674, allocations: 4.375 kB / 1.553 GB, free: 7.176 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002113/1.676, allocations: 1.533 MB / 1.554 GB, free: 5.566 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001765/1.678, allocations: 278.9 kB / 1.554 GB, free: 5.297 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006427/1.684, allocations: 2.369 MB / 1.557 GB, free: 2.805 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00132/1.686, allocations: 1.367 MB / 1.558 GB, free: 1.406 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0012/1.687, allocations: 342.3 kB / 1.558 GB, free: 1.066 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008126/1.688, allocations: 0.5149 MB / 1.559 GB, free: 0.5508 MB / 0.9636 GB Notification: Performance of SimCode: time 1.352e-06/1.688, allocations: 0 / 1.559 GB, free: 0.5508 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06409/1.752, allocations: 24.84 MB / 1.583 GB, free: 7.895 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002901/1.752, allocations: 166.1 kB / 1.583 GB, free: 7.699 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.688/4.44, allocations: 3.938 kB / 1.583 GB, free: 7.695 MB / 0.9948 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat does not exist to compare? outputFormat=mat