Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.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.Sensors.Examples.Sensors,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",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.313/2.313, allocations: 390.5 MB / 398 MB, free: 10.94 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.001484/0.001483, allocations: 176.8 kB / 491.2 MB, free: 1.539 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.744/1.744, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.001006/0.001006, allocations: 95.94 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.195e-05/2.197e-05, allocations: 8.75 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3352, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.186/1.521, allocations: 184.1 MB / 1.392 GB, free: 14.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/1.521, allocations: 97.53 kB / 1.392 GB, free: 14.06 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2683/1.79, allocations: 111.1 MB / 1.501 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.125e-06/1.79, allocations: 0 / 1.501 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001596/1.79, allocations: 67.98 kB / 1.501 GB, free: 15.76 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.008692/1.798, allocations: 2.452 MB / 1.503 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/1.799, allocations: 8.031 kB / 1.503 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0067/1.805, allocations: 1.011 MB / 1.504 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005446/1.811, allocations: 1.636 MB / 1.506 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002285/1.811, allocations: 96 kB / 1.506 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001824/1.813, allocations: 168 kB / 1.506 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0106/1.823, allocations: 3.62 MB / 1.51 GB, free: 6.668 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01615/1.84, allocations: 4.301 MB / 1.514 GB, free: 2.273 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001885/1.84, allocations: 4 kB / 1.514 GB, free: 2.27 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001753/1.842, allocations: 0 / 1.514 GB, free: 2.27 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003667/1.842, allocations: 189 kB / 1.514 GB, free: 2.082 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03932/1.881, allocations: 22.27 MB / 1.536 GB, free: 9.594 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005036/1.887, allocations: 3.123 MB / 1.539 GB, free: 6.195 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001414/1.888, allocations: 0.8646 MB / 1.54 GB, free: 5.312 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002116/1.888, allocations: 109.8 kB / 1.54 GB, free: 5.188 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.467e-05/1.888, allocations: 51.33 kB / 1.54 GB, free: 5.129 MB / 0.948 GB Notification: Performance of pre-optimization done (n=82): time 3.307e-06/1.888, allocations: 0 / 1.54 GB, free: 5.129 MB / 0.948 GB Notification: Performance of matching and sorting (n=82): time 0.003041/1.891, allocations: 1.467 MB / 1.541 GB, free: 3.652 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/1.892, allocations: 230.5 kB / 1.541 GB, free: 3.379 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001944/1.893, allocations: 0.9452 MB / 1.542 GB, free: 2.43 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001243/1.894, allocations: 29.7 kB / 1.542 GB, free: 2.395 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001047/1.895, allocations: 1.277 MB / 1.544 GB, free: 1.098 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00036/1.895, allocations: 291.9 kB / 1.544 GB, free: 0.8086 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/1.895, allocations: 0 / 1.544 GB, free: 0.8086 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002595/1.895, allocations: 406.7 kB / 1.544 GB, free: 412 kB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001287/1.897, allocations: 0.8238 MB / 1.545 GB, free: 15.57 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001757/1.899, allocations: 1.425 MB / 1.547 GB, free: 13.87 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002854/1.901, allocations: 1.403 MB / 1.548 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.606e-05/1.901, allocations: 11.94 kB / 1.548 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005025/1.906, allocations: 2.539 MB / 1.55 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.003561/1.91, allocations: 7.488 MB / 1.558 GB, free: 1.836 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.245e-05/1.91, allocations: 20 kB / 1.558 GB, free: 1.816 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.977e-05/1.91, allocations: 32 kB / 1.558 GB, free: 1.785 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001989/1.912, allocations: 471.2 kB / 1.558 GB, free: 1.324 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.15e-05/1.912, allocations: 39.86 kB / 1.558 GB, free: 1.285 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002024/1.914, allocations: 313.8 kB / 1.559 GB, free: 0.9766 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000276/1.915, allocations: 79.98 kB / 1.559 GB, free: 0.8984 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/1.915, allocations: 8 kB / 1.559 GB, free: 0.8906 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004595/1.919, allocations: 2.241 MB / 1.561 GB, free: 14.65 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.631e-05/1.919, allocations: 20 kB / 1.561 GB, free: 14.63 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.339e-05/1.919, allocations: 39.94 kB / 1.561 GB, free: 14.59 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/1.921, allocations: 436 kB / 1.561 GB, free: 14.16 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.617e-05/1.921, allocations: 47.8 kB / 1.561 GB, free: 14.12 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/1.923, allocations: 218.6 kB / 1.562 GB, free: 13.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002031/1.923, allocations: 76.05 kB / 1.562 GB, free: 13.83 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (197): * Single equations (assignments): 197 * 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.000459/1.923, allocations: 160.4 kB / 1.562 GB, free: 13.66 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002762/1.926, allocations: 1.471 MB / 1.563 GB, free: 12.19 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003851/1.926, allocations: 106.7 kB / 1.563 GB, free: 12.08 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002726/1.929, allocations: 1.528 MB / 1.565 GB, free: 10.53 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/1.929, allocations: 8 kB / 1.565 GB, free: 10.52 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/1.929, allocations: 4 kB / 1.565 GB, free: 10.52 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/1.929, allocations: 3.984 kB / 1.565 GB, free: 10.52 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008268/1.937, allocations: 3.754 MB / 1.568 GB, free: 6.664 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.886e-06/1.938, allocations: 0 / 1.568 GB, free: 6.664 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/1.939, allocations: 239.6 kB / 1.569 GB, free: 6.43 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.689e-05/1.939, allocations: 8 kB / 1.569 GB, free: 6.422 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.78e-05/1.939, allocations: 4 kB / 1.569 GB, free: 6.418 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.136e-06/1.939, allocations: 4 kB / 1.569 GB, free: 6.414 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.207e-06/1.939, allocations: 7.953 kB / 1.569 GB, free: 6.406 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002585/1.941, allocations: 1.948 MB / 1.571 GB, free: 4.398 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008058/1.942, allocations: 363.5 kB / 1.571 GB, free: 4.023 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000302/1.942, allocations: 8 kB / 1.571 GB, free: 4.016 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/1.944, allocations: 111.8 kB / 1.571 GB, free: 3.906 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/1.944, allocations: 56.61 kB / 1.571 GB, free: 3.852 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.148e-05/1.944, allocations: 23.98 kB / 1.571 GB, free: 3.828 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001448/1.945, allocations: 0.7372 MB / 1.572 GB, free: 3.09 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.9e-07/1.945, allocations: 0 / 1.572 GB, free: 3.09 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.004946/1.95, allocations: 1.29 MB / 1.573 GB, free: 1.793 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 85 * 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.00379/1.954, allocations: 2.929 MB / 1.576 GB, free: 14.81 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.004922/1.959, allocations: 2.766 MB / 1.579 GB, free: 12.05 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/1.959, allocations: 0 / 1.579 GB, free: 12.05 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008737/1.96, allocations: 0.6295 MB / 1.579 GB, free: 11.42 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/1.961, allocations: 150.7 kB / 1.579 GB, free: 11.28 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01248/1.974, allocations: 4.382 MB / 1.584 GB, free: 6.812 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003249/1.977, allocations: 2.256 MB / 1.586 GB, free: 4.523 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.003309/1.98, allocations: 1.156 MB / 1.587 GB, free: 3.363 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001505/1.982, allocations: 0.8234 MB / 1.588 GB, free: 2.539 MB / 0.9948 GB Notification: Performance of SimCode: time 3.186e-06/1.982, allocations: 0 / 1.588 GB, free: 2.539 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07588/2.058, allocations: 31.52 MB / 1.619 GB, free: 3.141 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002535/2.058, allocations: 165.4 kB / 1.619 GB, free: 2.953 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.064/5.122, allocations: 0 / 1.619 GB, free: 2.953 MB / 1.026 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors_res.mat does not exist to compare? outputFormat=mat