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.373/2.373, allocations: 393.5 MB / 408.4 MB, free: 11.08 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.001435/0.001435, allocations: 187.9 kB / 0.4902 GB, free: 2.297 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.619/1.619, allocations: 223.1 MB / 0.7992 GB, free: 14.76 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.001377/0.001377, allocations: 106.3 kB / 0.9396 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004041/0.0004044, allocations: 10.28 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3207, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2828/0.6036, allocations: 184.8 MB / 1.41 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003334/0.604, allocations: 107.9 kB / 1.41 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.7905/1.395, allocations: 112 MB / 1.519 GB, free: 126.1 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.314e-06/1.395, allocations: 0 / 1.519 GB, free: 126.1 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001651/1.395, allocations: 64.12 kB / 1.519 GB, free: 126.1 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.007067/1.402, allocations: 2.533 MB / 1.522 GB, free: 123.5 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/1.402, allocations: 12.03 kB / 1.522 GB, free: 123.4 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001511/1.403, allocations: 470.4 kB / 1.522 GB, free: 123 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005789/1.409, allocations: 1.003 MB / 1.523 GB, free: 122 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004201/1.413, allocations: 1.642 MB / 1.525 GB, free: 120.3 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001737/1.414, allocations: 226 kB / 1.525 GB, free: 120.1 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001069/1.415, allocations: 296 kB / 1.525 GB, free: 119.8 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01162/1.426, allocations: 4.793 MB / 1.53 GB, free: 114.9 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001176/1.426, allocations: 4 kB / 1.53 GB, free: 114.9 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008366/1.427, allocations: 123.9 kB / 1.53 GB, free: 114.8 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002114/1.428, allocations: 197.1 kB / 1.53 GB, free: 114.6 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00798/1.436, allocations: 4.236 MB / 1.534 GB, free: 110.3 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02828/1.464, allocations: 23.1 MB / 1.557 GB, free: 84.96 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003654/1.468, allocations: 3.172 MB / 1.56 GB, free: 81.52 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001356/1.468, allocations: 105.7 kB / 1.56 GB, free: 81.39 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/1.468, allocations: 47.16 kB / 1.56 GB, free: 81.34 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=82): time 2.685e-06/1.468, allocations: 0 / 1.56 GB, free: 81.34 MB / 0.9167 GB Notification: Performance of matching and sorting (n=82): time 0.002701/1.47, allocations: 2.09 MB / 1.562 GB, free: 79.24 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/1.471, allocations: 230.6 kB / 1.562 GB, free: 78.97 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/1.472, allocations: 0.9919 MB / 1.563 GB, free: 77.96 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.241e-05/1.472, allocations: 41.7 kB / 1.563 GB, free: 77.92 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005507/1.472, allocations: 1.281 MB / 1.565 GB, free: 76.62 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002096/1.473, allocations: 299.9 kB / 1.565 GB, free: 76.32 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.752e-05/1.473, allocations: 32 kB / 1.565 GB, free: 76.29 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001147/1.473, allocations: 410.7 kB / 1.565 GB, free: 75.88 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/1.474, allocations: 0.89 MB / 1.566 GB, free: 74.99 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001289/1.475, allocations: 1.503 MB / 1.568 GB, free: 73.21 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/1.476, allocations: 1.193 MB / 1.569 GB, free: 72.02 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.201e-05/1.476, allocations: 8 kB / 1.569 GB, free: 72.01 MB / 0.9167 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003188/1.48, allocations: 2.488 MB / 1.571 GB, free: 69.51 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001381/1.481, allocations: 7.5 MB / 1.579 GB, free: 61.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.333e-05/1.481, allocations: 20 kB / 1.579 GB, free: 61.41 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.77e-05/1.481, allocations: 32 kB / 1.579 GB, free: 61.38 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/1.483, allocations: 467.2 kB / 1.579 GB, free: 60.92 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.724e-05/1.483, allocations: 39.86 kB / 1.579 GB, free: 60.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/1.485, allocations: 361.8 kB / 1.58 GB, free: 60.52 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001602/1.485, allocations: 83.95 kB / 1.58 GB, free: 60.44 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/1.485, allocations: 4 kB / 1.58 GB, free: 60.44 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002803/1.487, allocations: 2.23 MB / 1.582 GB, free: 58.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-05/1.488, allocations: 20 kB / 1.582 GB, free: 58.19 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/1.488, allocations: 31.95 kB / 1.582 GB, free: 58.16 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/1.489, allocations: 447.2 kB / 1.582 GB, free: 57.72 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.347e-05/1.489, allocations: 39.86 kB / 1.582 GB, free: 57.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/1.49, allocations: 250.8 kB / 1.583 GB, free: 57.44 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001376/1.49, allocations: 79.98 kB / 1.583 GB, free: 57.36 MB / 0.9167 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.00215/1.493, allocations: 1.275 MB / 1.584 GB, free: 56.07 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003588/1.493, allocations: 98.88 kB / 1.584 GB, free: 55.98 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002108/1.495, allocations: 1.583 MB / 1.586 GB, free: 54.37 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/1.495, allocations: 15.95 kB / 1.586 GB, free: 54.36 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/1.495, allocations: 0 / 1.586 GB, free: 54.36 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/1.495, allocations: 15.92 kB / 1.586 GB, free: 54.34 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007416/1.502, allocations: 4.251 MB / 1.59 GB, free: 50.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/1.503, allocations: 0 / 1.59 GB, free: 50.02 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009424/1.503, allocations: 239.6 kB / 1.59 GB, free: 49.79 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.387e-05/1.504, allocations: 4 kB / 1.59 GB, free: 49.79 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-05/1.504, allocations: 24 kB / 1.59 GB, free: 49.76 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/1.504, allocations: 4 kB / 1.59 GB, free: 49.76 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.504, allocations: 0 / 1.59 GB, free: 49.76 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/1.505, allocations: 2.007 MB / 1.592 GB, free: 47.69 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007403/1.506, allocations: 367.5 kB / 1.592 GB, free: 47.31 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001774/1.506, allocations: 12 kB / 1.592 GB, free: 47.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009173/1.507, allocations: 123.8 kB / 1.592 GB, free: 47.18 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/1.507, allocations: 60.53 kB / 1.593 GB, free: 47.12 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.834e-05/1.507, allocations: 24 kB / 1.593 GB, free: 47.09 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0009487/1.508, allocations: 0.7839 MB / 1.593 GB, free: 46.31 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.5e-07/1.508, allocations: 0 / 1.593 GB, free: 46.31 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00347/1.512, allocations: 1.364 MB / 1.595 GB, free: 44.94 MB / 0.9167 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.002076/1.514, allocations: 2.992 MB / 1.598 GB, free: 41.89 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003748/1.518, allocations: 2.998 MB / 1.6 GB, free: 38.91 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/1.518, allocations: 4 kB / 1.6 GB, free: 38.9 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007051/1.518, allocations: 0.6762 MB / 1.601 GB, free: 38.23 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009624/1.519, allocations: 171.3 kB / 1.601 GB, free: 38.07 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01831/1.538, allocations: 23.91 MB / 1.625 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002397/1.54, allocations: 2.258 MB / 1.627 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.002446/1.543, allocations: 1.117 MB / 1.628 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001068/1.544, allocations: 0.8273 MB / 1.629 GB, free: 9.312 MB / 0.9167 GB Notification: Performance of SimCode: time 7.51e-07/1.544, allocations: 0 / 1.629 GB, free: 9.312 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05124/1.595, allocations: 30.85 MB / 1.659 GB, free: 10.76 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000201/1.595, allocations: 206.6 kB / 1.659 GB, free: 10.52 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.658/4.253, allocations: 0 / 1.659 GB, free: 10.52 MB / 0.948 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