Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",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.61/2.61, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.00159/0.00159, allocations: 180.8 kB / 496.1 MB, free: 12.88 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.572/1.572, allocations: 221.3 MB / 0.7915 GB, free: 5.387 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.001064/0.001064, allocations: 87.95 kB / 0.9317 GB, free: 5.707 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.65e-05/4.654e-05, allocations: 0 / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3341, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.175/1.509, allocations: 193.3 MB / 1.408 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003459/1.51, allocations: 96.31 kB / 1.408 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4035/1.913, allocations: 169.8 MB / 1.574 GB, free: 5.758 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.264e-06/1.913, allocations: 0 / 1.574 GB, free: 5.758 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.0002039/1.914, allocations: 99.92 kB / 1.574 GB, free: 5.66 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.01062/1.924, allocations: 3.356 MB / 1.577 GB, free: 2.242 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/1.924, allocations: 8.031 kB / 1.577 GB, free: 2.234 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002046/1.926, allocations: 0.6324 MB / 1.578 GB, free: 1.59 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006016/1.932, allocations: 0.9628 MB / 1.578 GB, free: 0.6211 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00594/1.938, allocations: 2.287 MB / 1.581 GB, free: 14.29 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002887/1.939, allocations: 324.9 kB / 1.581 GB, free: 13.96 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001494/1.94, allocations: 431.9 kB / 1.581 GB, free: 13.54 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01553/1.956, allocations: 6.61 MB / 1.588 GB, free: 6.688 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001932/1.956, allocations: 7.938 kB / 1.588 GB, free: 6.68 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001273/1.957, allocations: 184 kB / 1.588 GB, free: 6.5 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003459/1.958, allocations: 258.9 kB / 1.588 GB, free: 6.246 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.012/1.97, allocations: 5.224 MB / 1.593 GB, free: 1.02 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04664/2.016, allocations: 32.47 MB / 1.625 GB, free: 13.7 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003169/2.019, allocations: 1.857 MB / 1.627 GB, free: 11.8 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001639/2.021, allocations: 1.075 MB / 1.628 GB, free: 10.72 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001922/2.021, allocations: 101.8 kB / 1.628 GB, free: 10.61 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.212e-05/2.021, allocations: 51.27 kB / 1.628 GB, free: 10.54 MB / 1.089 GB Notification: Performance of pre-optimization done (n=86): time 3.327e-06/2.021, allocations: 0 / 1.628 GB, free: 10.54 MB / 1.089 GB Notification: Performance of matching and sorting (n=89): time 0.008609/2.03, allocations: 4.028 MB / 1.632 GB, free: 6.469 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.864e-05/2.03, allocations: 141.3 kB / 1.632 GB, free: 6.301 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002568/2.033, allocations: 1.458 MB / 1.634 GB, free: 4.836 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.000121/2.033, allocations: 41.7 kB / 1.634 GB, free: 4.789 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.001431/2.034, allocations: 1.901 MB / 1.636 GB, free: 2.859 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.000386/2.035, allocations: 335.5 kB / 1.636 GB, free: 2.527 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/2.035, allocations: 44 kB / 1.636 GB, free: 2.484 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0002138/2.035, allocations: 397.9 kB / 1.636 GB, free: 2.09 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001642/2.037, allocations: 1.082 MB / 1.637 GB, free: 1.004 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002654/2.039, allocations: 2.153 MB / 1.639 GB, free: 14.33 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002313/2.042, allocations: 1.52 MB / 1.641 GB, free: 12.81 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.615e-05/2.042, allocations: 8 kB / 1.641 GB, free: 12.8 MB / 1.104 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005525/2.047, allocations: 3.257 MB / 1.644 GB, free: 9.535 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.005908/2.053, allocations: 13.43 MB / 1.657 GB, free: 11.05 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-05/2.053, allocations: 36 kB / 1.657 GB, free: 11.01 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.96e-05/2.053, allocations: 52 kB / 1.657 GB, free: 10.96 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002537/2.056, allocations: 0.6278 MB / 1.658 GB, free: 10.33 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001195/2.056, allocations: 63.8 kB / 1.658 GB, free: 10.27 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0032/2.059, allocations: 366.7 kB / 1.658 GB, free: 9.91 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003553/2.06, allocations: 112 kB / 1.658 GB, free: 9.801 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/2.06, allocations: 9.547 kB / 1.658 GB, free: 9.793 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005018/2.065, allocations: 2.71 MB / 1.661 GB, free: 7.082 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00014/2.065, allocations: 36 kB / 1.661 GB, free: 7.047 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.526e-05/2.065, allocations: 48.91 kB / 1.661 GB, free: 7 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002036/2.067, allocations: 0.5654 MB / 1.662 GB, free: 6.434 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.873e-05/2.067, allocations: 71.72 kB / 1.662 GB, free: 6.363 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002062/2.069, allocations: 247.1 kB / 1.662 GB, free: 6.121 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002941/2.069, allocations: 116 kB / 1.662 GB, free: 6.008 MB / 1.12 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (264): * Single equations (assignments): 264 * 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.0007048/2.07, allocations: 248 kB / 1.662 GB, free: 5.758 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006624/2.071, allocations: 158.1 kB / 1.663 GB, free: 5.602 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003514/2.074, allocations: 1.889 MB / 1.664 GB, free: 3.699 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/2.074, allocations: 12 kB / 1.664 GB, free: 3.688 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.648e-05/2.074, allocations: 11.89 kB / 1.664 GB, free: 3.676 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/2.074, allocations: 4.125 kB / 1.664 GB, free: 3.672 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01627/2.091, allocations: 7.716 MB / 1.672 GB, free: 11.79 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-05/2.091, allocations: 8 kB / 1.672 GB, free: 11.78 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001368/2.092, allocations: 340 kB / 1.672 GB, free: 11.45 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.26e-05/2.092, allocations: 15.95 kB / 1.672 GB, free: 11.43 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/2.092, allocations: 28 kB / 1.672 GB, free: 11.4 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-05/2.092, allocations: 19.92 kB / 1.672 GB, free: 11.38 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/2.092, allocations: 4 kB / 1.672 GB, free: 11.38 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003413/2.096, allocations: 2.706 MB / 1.675 GB, free: 8.371 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001217/2.097, allocations: 458.9 kB / 1.675 GB, free: 7.902 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004375/2.098, allocations: 27.95 kB / 1.675 GB, free: 7.875 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001365/2.099, allocations: 163.7 kB / 1.676 GB, free: 7.715 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001771/2.099, allocations: 80.31 kB / 1.676 GB, free: 7.637 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.874e-05/2.099, allocations: 28 kB / 1.676 GB, free: 7.609 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.001904/2.101, allocations: 1.072 MB / 1.677 GB, free: 6.539 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.7e-07/2.101, allocations: 4 kB / 1.677 GB, free: 6.535 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.006202/2.107, allocations: 1.234 MB / 1.678 GB, free: 5.301 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 92 * 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.00431/2.112, allocations: 5.203 MB / 1.683 GB, free: 15.88 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.005936/2.118, allocations: 3.797 MB / 1.687 GB, free: 12.09 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/2.118, allocations: 4.812 kB / 1.687 GB, free: 12.09 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001158/2.119, allocations: 0.8697 MB / 1.688 GB, free: 11.21 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00223/2.121, allocations: 372.8 kB / 1.688 GB, free: 10.86 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01688/2.138, allocations: 6.555 MB / 1.694 GB, free: 4.152 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004339/2.142, allocations: 2.933 MB / 1.697 GB, free: 1.188 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.6878/2.83, allocations: 1.249 MB / 1.698 GB, free: 309.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002691/2.833, allocations: 1.272 MB / 1.7 GB, free: 309.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.232e-06/2.833, allocations: 0 / 1.7 GB, free: 309.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1194/2.952, allocations: 47.33 MB / 1.746 GB, free: 307.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001897/2.953, allocations: 184.4 kB / 1.746 GB, free: 307.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.08/6.032, allocations: 0 / 1.746 GB, free: 307.5 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat does not exist to compare? outputFormat=mat