Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_9_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_9_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.268/2.268, allocations: 387.1 MB / 399.7 MB, free: 9.488 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.00117/0.001171, allocations: 180.3 kB / 492.3 MB, free: 0.5938 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.733/1.733, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.0009389/0.0009388, allocations: 90.14 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.969e-05/3.973e-05, allocations: 4 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.342, allocations: 142.3 MB / 1.212 GB, free: 38.38 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.128/1.47, allocations: 191.8 MB / 1.4 GB, free: 7.934 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/1.471, allocations: 99.94 kB / 1.4 GB, free: 7.879 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2998/1.77, allocations: 119 MB / 1.516 GB, free: 15.59 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.414e-06/1.77, allocations: 0 / 1.516 GB, free: 15.59 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002408/1.771, allocations: 67.98 kB / 1.516 GB, free: 15.52 MB / 0.9323 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.009266/1.78, allocations: 2.411 MB / 1.518 GB, free: 13.06 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/1.78, allocations: 12.02 kB / 1.518 GB, free: 13.05 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001774/1.782, allocations: 441.8 kB / 1.519 GB, free: 12.61 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004462/1.786, allocations: 0.699 MB / 1.52 GB, free: 11.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003804/1.79, allocations: 1.609 MB / 1.521 GB, free: 10.25 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001752/1.79, allocations: 217.8 kB / 1.521 GB, free: 10.03 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005703/1.791, allocations: 284 kB / 1.522 GB, free: 9.754 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008892/1.8, allocations: 4.536 MB / 1.526 GB, free: 5.027 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-05/1.8, allocations: 11.94 kB / 1.526 GB, free: 5.016 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003335/1.8, allocations: 124 kB / 1.526 GB, free: 4.895 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002302/1.8, allocations: 180.7 kB / 1.526 GB, free: 4.715 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006253/1.807, allocations: 3.652 MB / 1.53 GB, free: 1.051 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02795/1.835, allocations: 23.07 MB / 1.552 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00317/1.838, allocations: 1.544 MB / 1.554 GB, free: 6.262 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001226/1.839, allocations: 0.8288 MB / 1.555 GB, free: 5.418 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002046/1.839, allocations: 93.66 kB / 1.555 GB, free: 5.309 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.986e-05/1.839, allocations: 55 kB / 1.555 GB, free: 5.242 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=72): time 5.781e-06/1.839, allocations: 0 / 1.555 GB, free: 5.242 MB / 0.9636 GB Notification: Performance of matching and sorting (n=75): time 0.00596/1.845, allocations: 2.904 MB / 1.558 GB, free: 2.309 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/1.846, allocations: 141 kB / 1.558 GB, free: 2.141 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/1.847, allocations: 0.9264 MB / 1.559 GB, free: 1.211 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.34e-05/1.847, allocations: 41.7 kB / 1.559 GB, free: 1.164 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008444/1.848, allocations: 1.193 MB / 1.56 GB, free: 15.95 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002801/1.848, allocations: 268.1 kB / 1.56 GB, free: 15.69 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.309e-05/1.848, allocations: 24 kB / 1.56 GB, free: 15.66 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002347/1.849, allocations: 414.7 kB / 1.561 GB, free: 15.25 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/1.85, allocations: 0.76 MB / 1.561 GB, free: 14.49 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001495/1.851, allocations: 1.252 MB / 1.563 GB, free: 13.02 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/1.852, allocations: 0.9622 MB / 1.564 GB, free: 12.05 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.637e-06/1.852, allocations: 4 kB / 1.564 GB, free: 12.05 MB / 0.9792 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003193/1.856, allocations: 2.096 MB / 1.566 GB, free: 9.945 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.002427/1.858, allocations: 5.499 MB / 1.571 GB, free: 4.016 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.497e-05/1.858, allocations: 15.98 kB / 1.571 GB, free: 4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.385e-05/1.858, allocations: 24 kB / 1.571 GB, free: 3.977 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001632/1.86, allocations: 419.3 kB / 1.571 GB, free: 3.566 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.441e-05/1.86, allocations: 31.86 kB / 1.571 GB, free: 3.535 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/1.861, allocations: 255.3 kB / 1.572 GB, free: 3.285 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/1.862, allocations: 59.98 kB / 1.572 GB, free: 3.227 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/1.862, allocations: 4 kB / 1.572 GB, free: 3.223 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002531/1.864, allocations: 1.694 MB / 1.573 GB, free: 1.531 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/1.864, allocations: 15.95 kB / 1.573 GB, free: 1.516 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.492e-05/1.864, allocations: 24 kB / 1.573 GB, free: 1.492 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/1.865, allocations: 359.4 kB / 1.574 GB, free: 1.141 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.799e-05/1.866, allocations: 32.08 kB / 1.574 GB, free: 1.109 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/1.867, allocations: 183.4 kB / 1.574 GB, free: 0.9297 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/1.867, allocations: 60 kB / 1.574 GB, free: 0.8711 MB / 0.9792 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 (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.0003431/1.867, allocations: 177.2 kB / 1.574 GB, free: 0.6914 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002872/1.867, allocations: 98.78 kB / 1.574 GB, free: 0.5938 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002498/1.87, allocations: 1.479 MB / 1.576 GB, free: 15.09 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/1.87, allocations: 8 kB / 1.576 GB, free: 15.09 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/1.87, allocations: 0 / 1.576 GB, free: 15.09 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-05/1.87, allocations: 3.984 kB / 1.576 GB, free: 15.08 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0112/1.881, allocations: 7.226 MB / 1.583 GB, free: 7.645 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.604e-05/1.881, allocations: 12 kB / 1.583 GB, free: 7.633 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/1.882, allocations: 268.1 kB / 1.583 GB, free: 7.371 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.208e-05/1.882, allocations: 16 kB / 1.583 GB, free: 7.355 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.8e-05/1.882, allocations: 20 kB / 1.583 GB, free: 7.336 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.612e-05/1.883, allocations: 20.02 kB / 1.583 GB, free: 7.316 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.2e-05/1.883, allocations: 19.88 kB / 1.583 GB, free: 7.297 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002687/1.885, allocations: 2.378 MB / 1.586 GB, free: 4.57 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007111/1.886, allocations: 375.6 kB / 1.586 GB, free: 4.184 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001497/1.886, allocations: 24 kB / 1.586 GB, free: 4.16 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009101/1.887, allocations: 139.7 kB / 1.586 GB, free: 4.023 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/1.887, allocations: 75.75 kB / 1.586 GB, free: 3.949 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.587e-05/1.887, allocations: 36 kB / 1.586 GB, free: 3.914 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001062/1.888, allocations: 0.6989 MB / 1.587 GB, free: 3.199 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.7e-07/1.888, allocations: 0 / 1.587 GB, free: 3.199 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002796/1.891, allocations: 0.8242 MB / 1.588 GB, free: 2.375 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 78 * 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.004061/1.895, allocations: 5.528 MB / 1.593 GB, free: 12.57 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.003891/1.899, allocations: 2.585 MB / 1.596 GB, free: 9.996 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/1.899, allocations: 0 / 1.596 GB, free: 9.996 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.00102/1.9, allocations: 0.7227 MB / 1.596 GB, free: 9.273 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/1.902, allocations: 255.8 kB / 1.597 GB, free: 9.031 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009313/1.911, allocations: 4.577 MB / 1.601 GB, free: 4.289 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0023/1.913, allocations: 2.172 MB / 1.603 GB, free: 2.082 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002191/1.916, allocations: 0.7851 MB / 1.604 GB, free: 1.293 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001124/1.917, allocations: 0.8039 MB / 1.605 GB, free: 500 kB / 1.01 GB Notification: Performance of SimCode: time 8.62e-07/1.917, allocations: 4 kB / 1.605 GB, free: 496 kB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0586/1.975, allocations: 31.58 MB / 1.635 GB, free: 1.199 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001939/1.976, allocations: 177.4 kB / 1.636 GB, free: 0.9688 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.803/4.778, allocations: 5.766 kB / 1.636 GB, free: 0.9648 MB / 1.042 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat does not exist to compare? outputFormat=mat