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.308/2.308, allocations: 390.5 MB / 398 MB, free: 10.99 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.001066/0.001065, allocations: 187.8 kB / 491.2 MB, free: 1.574 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.847/1.847, allocations: 221.5 MB / 0.7868 GB, free: 13.31 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.001121/0.001121, allocations: 91.52 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.813e-05/2.815e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.3969, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.253/1.65, allocations: 192.6 MB / 1.401 GB, free: 7.355 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/1.651, allocations: 94.88 kB / 1.401 GB, free: 7.305 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4037/2.054, allocations: 169.2 MB / 1.566 GB, free: 12.62 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.944e-06/2.054, allocations: 0 / 1.566 GB, free: 12.62 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.000233/2.055, allocations: 99.92 kB / 1.566 GB, free: 12.53 MB / 0.9792 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.01176/2.066, allocations: 3.343 MB / 1.569 GB, free: 9.121 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/2.067, allocations: 16.03 kB / 1.569 GB, free: 9.105 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006621/2.073, allocations: 0.955 MB / 1.57 GB, free: 8.145 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006915/2.08, allocations: 2.287 MB / 1.572 GB, free: 5.812 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002439/2.08, allocations: 144.2 kB / 1.572 GB, free: 5.672 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001728/2.082, allocations: 251.9 kB / 1.573 GB, free: 5.426 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01189/2.094, allocations: 4.621 MB / 1.577 GB, free: 0.7969 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01894/2.113, allocations: 5.987 MB / 1.583 GB, free: 10.57 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001415/2.113, allocations: 7.938 kB / 1.583 GB, free: 10.57 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006482/2.114, allocations: 8 kB / 1.583 GB, free: 10.56 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003188/2.114, allocations: 258.9 kB / 1.583 GB, free: 10.3 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04502/2.159, allocations: 31.14 MB / 1.614 GB, free: 8.34 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003386/2.163, allocations: 1.82 MB / 1.616 GB, free: 6.484 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001624/2.164, allocations: 1.052 MB / 1.617 GB, free: 5.422 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002048/2.165, allocations: 101.9 kB / 1.617 GB, free: 5.305 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/2.165, allocations: 43.34 kB / 1.617 GB, free: 5.254 MB / 1.026 GB Notification: Performance of pre-optimization done (n=86): time 3.697e-06/2.165, allocations: 4 kB / 1.617 GB, free: 5.25 MB / 1.026 GB Notification: Performance of matching and sorting (n=89): time 0.007294/2.172, allocations: 4.02 MB / 1.621 GB, free: 1.18 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.296e-05/2.172, allocations: 141.3 kB / 1.621 GB, free: 1.012 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001906/2.174, allocations: 1.294 MB / 1.622 GB, free: 15.71 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001476/2.174, allocations: 33.64 kB / 1.622 GB, free: 15.67 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001305/2.175, allocations: 1.909 MB / 1.624 GB, free: 13.73 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000386/2.176, allocations: 331.7 kB / 1.624 GB, free: 13.4 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/2.176, allocations: 0 / 1.624 GB, free: 13.4 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.000217/2.176, allocations: 398 kB / 1.625 GB, free: 13.01 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001435/2.178, allocations: 1.043 MB / 1.626 GB, free: 11.96 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00219/2.18, allocations: 2.095 MB / 1.628 GB, free: 9.352 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002599/2.182, allocations: 1.615 MB / 1.629 GB, free: 7.734 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.559e-05/2.182, allocations: 8 kB / 1.629 GB, free: 7.727 MB / 1.042 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005067/2.188, allocations: 3.159 MB / 1.632 GB, free: 4.559 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.006707/2.194, allocations: 13.42 MB / 1.645 GB, free: 6.09 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.135e-05/2.194, allocations: 36 kB / 1.646 GB, free: 6.055 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.812e-05/2.194, allocations: 52 kB / 1.646 GB, free: 6.004 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002555/2.197, allocations: 0.6278 MB / 1.646 GB, free: 5.375 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-05/2.197, allocations: 67.77 kB / 1.646 GB, free: 5.309 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002296/2.199, allocations: 326.7 kB / 1.647 GB, free: 4.988 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001818/2.2, allocations: 116 kB / 1.647 GB, free: 4.875 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/2.2, allocations: 4 kB / 1.647 GB, free: 4.871 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004446/2.204, allocations: 2.566 MB / 1.649 GB, free: 2.305 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.741e-05/2.204, allocations: 36.22 kB / 1.649 GB, free: 2.27 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.095e-05/2.204, allocations: 56 kB / 1.649 GB, free: 2.215 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001862/2.206, allocations: 0.5537 MB / 1.65 GB, free: 1.66 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.337e-05/2.206, allocations: 71.72 kB / 1.65 GB, free: 1.59 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001773/2.208, allocations: 215 kB / 1.65 GB, free: 1.379 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/2.208, allocations: 112 kB / 1.65 GB, free: 1.27 MB / 1.057 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.0005178/2.209, allocations: 192 kB / 1.65 GB, free: 1.074 MB / 1.057 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002876/2.211, allocations: 1.759 MB / 1.652 GB, free: 15.3 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003338/2.212, allocations: 150.2 kB / 1.652 GB, free: 15.16 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003027/2.215, allocations: 1.865 MB / 1.654 GB, free: 13.28 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/2.215, allocations: 19.89 kB / 1.654 GB, free: 13.26 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/2.215, allocations: 4 kB / 1.654 GB, free: 13.25 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/2.215, allocations: 11.97 kB / 1.654 GB, free: 13.24 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01136/2.226, allocations: 6.606 MB / 1.661 GB, free: 6.477 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/2.226, allocations: 8 kB / 1.661 GB, free: 6.469 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001344/2.228, allocations: 335.4 kB / 1.661 GB, free: 6.141 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.036e-05/2.228, allocations: 15.95 kB / 1.661 GB, free: 6.125 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.828e-05/2.228, allocations: 12 kB / 1.661 GB, free: 6.113 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.558e-05/2.228, allocations: 15.92 kB / 1.661 GB, free: 6.098 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.226e-05/2.228, allocations: 8 kB / 1.661 GB, free: 6.09 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003411/2.231, allocations: 2.688 MB / 1.664 GB, free: 3.082 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008954/2.232, allocations: 454.8 kB / 1.664 GB, free: 2.617 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002657/2.232, allocations: 15.95 kB / 1.664 GB, free: 2.602 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/2.234, allocations: 155.9 kB / 1.664 GB, free: 2.449 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/2.234, allocations: 72.31 kB / 1.664 GB, free: 2.379 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.261e-05/2.234, allocations: 36 kB / 1.664 GB, free: 2.344 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.00164/2.235, allocations: 0.9374 MB / 1.665 GB, free: 1.406 MB / 1.073 GB Notification: Performance of sort global known variables: time 4.41e-07/2.235, allocations: 0 / 1.665 GB, free: 1.406 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.004904/2.24, allocations: 1.129 MB / 1.666 GB, free: 284 kB / 1.073 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.004655/2.245, allocations: 5.184 MB / 1.671 GB, free: 10.88 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.005925/2.251, allocations: 3.595 MB / 1.675 GB, free: 7.289 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/2.251, allocations: 0 / 1.675 GB, free: 7.289 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.001186/2.252, allocations: 0.847 MB / 1.676 GB, free: 6.445 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002194/2.254, allocations: 352.3 kB / 1.676 GB, free: 6.113 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01535/2.27, allocations: 6.452 MB / 1.682 GB, free: 15.51 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003359/2.273, allocations: 2.929 MB / 1.685 GB, free: 12.55 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.003786/2.277, allocations: 1.25 MB / 1.686 GB, free: 11.29 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002426/2.279, allocations: 1.276 MB / 1.688 GB, free: 10.02 MB / 1.104 GB Notification: Performance of SimCode: time 9.22e-07/2.28, allocations: 4 kB / 1.688 GB, free: 10.01 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09551/2.375, allocations: 45.26 MB / 1.732 GB, free: 12.98 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002486/2.375, allocations: 161 kB / 1.732 GB, free: 12.79 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.079/5.454, allocations: 0 / 1.732 GB, free: 12.79 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