Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.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.Sensors.Examples.Sensors,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.153/2.153, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001251/0.001251, allocations: 179.4 kB / 498.1 MB, free: 5.75 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.446/1.446, allocations: 223.2 MB / 0.7948 GB, free: 18.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.0008635/0.0008635, allocations: 95.83 kB / 0.9346 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003355/0.0003355, allocations: 10.81 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.2999, allocations: 142.4 MB / 1.223 GB, free: 89.47 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.225/0.525, allocations: 184 MB / 1.403 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003225/0.5253, allocations: 103.9 kB / 1.403 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.8682/1.394, allocations: 112 MB / 1.512 GB, free: 100.2 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.715e-06/1.394, allocations: 0 / 1.512 GB, free: 100.2 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001032/1.394, allocations: 63.98 kB / 1.512 GB, free: 100.2 MB / 0.9011 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.00566/1.399, allocations: 2.546 MB / 1.515 GB, free: 97.57 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/1.399, allocations: 8.031 kB / 1.515 GB, free: 97.56 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006603/1.4, allocations: 466.5 kB / 1.515 GB, free: 97.09 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004869/1.405, allocations: 1.007 MB / 1.516 GB, free: 96.08 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003604/1.409, allocations: 1.638 MB / 1.518 GB, free: 94.4 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/1.409, allocations: 222 kB / 1.518 GB, free: 94.18 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004471/1.409, allocations: 300 kB / 1.518 GB, free: 93.89 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008192/1.417, allocations: 4.797 MB / 1.523 GB, free: 88.99 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-05/1.417, allocations: 7.938 kB / 1.523 GB, free: 88.98 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003517/1.418, allocations: 124 kB / 1.523 GB, free: 88.86 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001965/1.418, allocations: 181.1 kB / 1.523 GB, free: 88.68 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006956/1.425, allocations: 4.236 MB / 1.527 GB, free: 84.43 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02692/1.452, allocations: 23.11 MB / 1.55 GB, free: 59.07 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004067/1.456, allocations: 3.176 MB / 1.553 GB, free: 55.63 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001763/1.456, allocations: 105.7 kB / 1.553 GB, free: 55.51 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/1.456, allocations: 47.22 kB / 1.553 GB, free: 55.45 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=82): time 3.327e-06/1.456, allocations: 0 / 1.553 GB, free: 55.45 MB / 0.9011 GB Notification: Performance of matching and sorting (n=82): time 0.002997/1.459, allocations: 2.094 MB / 1.555 GB, free: 53.35 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/1.459, allocations: 226.4 kB / 1.555 GB, free: 53.08 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/1.461, allocations: 0.9882 MB / 1.556 GB, free: 52.09 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001014/1.461, allocations: 37.7 kB / 1.556 GB, free: 52.04 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007085/1.462, allocations: 1.296 MB / 1.558 GB, free: 50.73 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002528/1.462, allocations: 299.9 kB / 1.558 GB, free: 50.43 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/1.462, allocations: 28 kB / 1.558 GB, free: 50.4 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001563/1.462, allocations: 410.7 kB / 1.558 GB, free: 49.99 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/1.463, allocations: 0.89 MB / 1.559 GB, free: 49.1 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001473/1.465, allocations: 1.507 MB / 1.561 GB, free: 47.32 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/1.466, allocations: 1.186 MB / 1.562 GB, free: 46.13 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.866e-05/1.466, allocations: 8 kB / 1.562 GB, free: 46.12 MB / 0.9011 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003473/1.47, allocations: 2.5 MB / 1.564 GB, free: 43.62 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001715/1.472, allocations: 7.491 MB / 1.572 GB, free: 35.54 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.72e-05/1.472, allocations: 20 kB / 1.572 GB, free: 35.52 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.207e-05/1.472, allocations: 35.94 kB / 1.572 GB, free: 35.48 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001638/1.473, allocations: 471.2 kB / 1.572 GB, free: 35.02 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.325e-05/1.474, allocations: 39.86 kB / 1.572 GB, free: 34.98 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001859/1.475, allocations: 341.9 kB / 1.572 GB, free: 34.65 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/1.476, allocations: 79.98 kB / 1.573 GB, free: 34.57 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/1.476, allocations: 5.562 kB / 1.573 GB, free: 34.57 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003047/1.479, allocations: 2.226 MB / 1.575 GB, free: 32.34 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.727e-05/1.479, allocations: 24.06 kB / 1.575 GB, free: 32.32 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/1.479, allocations: 31.95 kB / 1.575 GB, free: 32.29 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/1.48, allocations: 447.2 kB / 1.575 GB, free: 31.85 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.138e-05/1.48, allocations: 43.8 kB / 1.575 GB, free: 31.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/1.482, allocations: 254.6 kB / 1.575 GB, free: 31.55 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001515/1.482, allocations: 75.98 kB / 1.576 GB, free: 31.48 MB / 0.9011 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 () * Number of clocked 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.002431/1.484, allocations: 1.273 MB / 1.577 GB, free: 30.2 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003994/1.485, allocations: 102.8 kB / 1.577 GB, free: 30.09 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002254/1.487, allocations: 1.595 MB / 1.578 GB, free: 28.48 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/1.487, allocations: 11.95 kB / 1.578 GB, free: 28.46 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/1.487, allocations: 4 kB / 1.578 GB, free: 28.46 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/1.487, allocations: 3.984 kB / 1.578 GB, free: 28.46 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008685/1.496, allocations: 4.248 MB / 1.583 GB, free: 24.14 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/1.496, allocations: 0 / 1.583 GB, free: 24.14 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009834/1.497, allocations: 235.6 kB / 1.583 GB, free: 23.91 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.63e-05/1.497, allocations: 8 kB / 1.583 GB, free: 23.91 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.44e-05/1.497, allocations: 16 kB / 1.583 GB, free: 23.89 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.085e-06/1.497, allocations: 8 kB / 1.583 GB, free: 23.88 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/1.497, allocations: 4 kB / 1.583 GB, free: 23.88 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001952/1.499, allocations: 2.015 MB / 1.585 GB, free: 21.81 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008435/1.5, allocations: 355.6 kB / 1.585 GB, free: 21.44 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002893/1.5, allocations: 16 kB / 1.585 GB, free: 21.43 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/1.501, allocations: 127.8 kB / 1.585 GB, free: 21.3 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/1.501, allocations: 56.47 kB / 1.585 GB, free: 21.25 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.086e-05/1.501, allocations: 24 kB / 1.585 GB, free: 21.22 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001155/1.502, allocations: 0.7878 MB / 1.586 GB, free: 20.44 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.6e-07/1.502, allocations: 0 / 1.586 GB, free: 20.44 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.004319/1.507, allocations: 1.36 MB / 1.588 GB, free: 19.07 MB / 0.9011 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 () * Number of clocked 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.002463/1.509, allocations: 3 MB / 1.59 GB, free: 16.02 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.004214/1.513, allocations: 3.003 MB / 1.593 GB, free: 13.03 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.513, allocations: 0 / 1.593 GB, free: 13.03 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.00078/1.514, allocations: 0.6711 MB / 1.594 GB, free: 12.35 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/1.515, allocations: 188.2 kB / 1.594 GB, free: 12.18 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02481/1.54, allocations: 23.91 MB / 1.618 GB, free: 3.66 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004145/1.544, allocations: 2.255 MB / 1.62 GB, free: 1.371 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.002917/1.547, allocations: 1.109 MB / 1.621 GB, free: 264 kB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001524/1.549, allocations: 0.8274 MB / 1.622 GB, free: 15.43 MB / 0.9323 GB Notification: Performance of SimCode: time 8.11e-07/1.549, allocations: 0 / 1.622 GB, free: 15.43 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06076/1.61, allocations: 30.82 MB / 1.652 GB, free: 0.9023 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002089/1.61, allocations: 210 kB / 1.652 GB, free: 0.6562 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.782/4.392, allocations: 4 kB / 1.652 GB, free: 0.6523 MB / 0.948 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors_res.mat does not exist to compare? outputFormat=mat