Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.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.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor",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.622/2.622, allocations: 390.5 MB / 398 MB, free: 10.97 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.002436/0.002436, allocations: 181.7 kB / 491.2 MB, free: 1.605 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.614/1.614, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.001082/0.001082, allocations: 90.66 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.305e-05/2.297e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2794, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.027/1.307, allocations: 171.6 MB / 1.38 GB, free: 17.26 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/1.307, allocations: 99.47 kB / 1.38 GB, free: 17.25 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03552/1.343, allocations: 15.65 MB / 1.395 GB, free: 27.58 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.784e-06/1.343, allocations: 0 / 1.395 GB, free: 27.58 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.347e-05/1.343, allocations: 3.844 kB / 1.395 GB, free: 27.58 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.001176/1.344, allocations: 479.7 kB / 1.396 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 7.427e-05/1.344, allocations: 11.53 kB / 1.396 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009708/1.345, allocations: 81.88 kB / 1.396 GB, free: 27.1 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005026/1.346, allocations: 234.1 kB / 1.396 GB, free: 26.87 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.937e-05/1.346, allocations: 7.688 kB / 1.396 GB, free: 26.87 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.478e-05/1.346, allocations: 6.938 kB / 1.396 GB, free: 26.87 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004046/1.346, allocations: 181 kB / 1.396 GB, free: 26.84 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004669/1.347, allocations: 292.9 kB / 1.397 GB, free: 26.69 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/1.347, allocations: 0 / 1.397 GB, free: 26.69 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.32e-05/1.347, allocations: 0 / 1.397 GB, free: 26.69 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.108e-05/1.347, allocations: 22.39 kB / 1.397 GB, free: 26.69 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002234/1.349, allocations: 1.577 MB / 1.398 GB, free: 25.29 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007009/1.35, allocations: 404.5 kB / 1.399 GB, free: 25 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/1.35, allocations: 84.83 kB / 1.399 GB, free: 24.96 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002207/1.35, allocations: 88.78 kB / 1.399 GB, free: 24.87 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.887e-05/1.35, allocations: 37.94 kB / 1.399 GB, free: 24.82 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 2.034e-06/1.35, allocations: 0 / 1.399 GB, free: 24.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.0009387/1.351, allocations: 265.3 kB / 1.399 GB, free: 24.7 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/1.351, allocations: 77.11 kB / 1.399 GB, free: 24.61 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/1.351, allocations: 144.8 kB / 1.399 GB, free: 24.5 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/1.351, allocations: 25.7 kB / 1.399 GB, free: 24.47 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/1.352, allocations: 157 kB / 1.399 GB, free: 24.34 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/1.352, allocations: 42.92 kB / 1.399 GB, free: 24.31 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.145e-05/1.352, allocations: 0 / 1.399 GB, free: 24.31 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001666/1.352, allocations: 321.4 kB / 1.4 GB, free: 23.99 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/1.352, allocations: 71.03 kB / 1.4 GB, free: 23.98 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/1.352, allocations: 142.3 kB / 1.4 GB, free: 23.89 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/1.352, allocations: 117.6 kB / 1.4 GB, free: 23.86 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.352, allocations: 0 / 1.4 GB, free: 23.86 MB / 0.8386 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005031/1.353, allocations: 260.9 kB / 1.4 GB, free: 23.77 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005685/1.353, allocations: 0.9649 MB / 1.401 GB, free: 22.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/1.354, allocations: 3.844 kB / 1.401 GB, free: 22.76 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/1.354, allocations: 7.859 kB / 1.401 GB, free: 22.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/1.354, allocations: 54.38 kB / 1.401 GB, free: 22.74 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/1.354, allocations: 3.844 kB / 1.401 GB, free: 22.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/1.354, allocations: 19.55 kB / 1.401 GB, free: 22.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/1.354, allocations: 11.7 kB / 1.401 GB, free: 22.73 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/1.354, allocations: 3.906 kB / 1.401 GB, free: 22.73 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003538/1.354, allocations: 196 kB / 1.402 GB, free: 22.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/1.354, allocations: 3.875 kB / 1.402 GB, free: 22.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.563e-06/1.354, allocations: 7.906 kB / 1.402 GB, free: 22.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/1.355, allocations: 50.05 kB / 1.402 GB, free: 22.67 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/1.355, allocations: 7.906 kB / 1.402 GB, free: 22.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/1.355, allocations: 7.719 kB / 1.402 GB, free: 22.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/1.355, allocations: 11.64 kB / 1.402 GB, free: 22.66 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.000106/1.355, allocations: 120.5 kB / 1.402 GB, free: 22.54 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003251/1.355, allocations: 199.6 kB / 1.402 GB, free: 22.46 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.815e-05/1.355, allocations: 11.62 kB / 1.402 GB, free: 22.46 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003564/1.356, allocations: 200.7 kB / 1.402 GB, free: 22.37 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/1.356, allocations: 3.844 kB / 1.402 GB, free: 22.37 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/1.356, allocations: 0 / 1.402 GB, free: 22.37 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/1.356, allocations: 3.953 kB / 1.402 GB, free: 22.36 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/1.357, allocations: 0.912 MB / 1.403 GB, free: 21.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/1.357, allocations: 3.875 kB / 1.403 GB, free: 21.69 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/1.357, allocations: 41.28 kB / 1.403 GB, free: 21.67 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.014e-06/1.357, allocations: 3.875 kB / 1.403 GB, free: 21.67 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/1.357, allocations: 5.188 kB / 1.403 GB, free: 21.67 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/1.357, allocations: 4 kB / 1.403 GB, free: 21.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.184e-06/1.357, allocations: 8.375 kB / 1.403 GB, free: 21.66 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005052/1.357, allocations: 0.5724 MB / 1.404 GB, free: 21 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/1.358, allocations: 115 kB / 1.404 GB, free: 20.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.677e-05/1.358, allocations: 7.984 kB / 1.404 GB, free: 20.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/1.358, allocations: 11.98 kB / 1.404 GB, free: 20.86 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/1.358, allocations: 19.5 kB / 1.404 GB, free: 20.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/1.358, allocations: 8 kB / 1.404 GB, free: 20.84 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001022/1.358, allocations: 128.8 kB / 1.404 GB, free: 20.73 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.81e-07/1.358, allocations: 0 / 1.404 GB, free: 20.73 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005647/1.359, allocations: 79.92 kB / 1.404 GB, free: 20.65 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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.001224/1.36, allocations: 2.024 MB / 1.406 GB, free: 18.57 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003789/1.36, allocations: 273 kB / 1.406 GB, free: 18.38 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.36, allocations: 5.188 kB / 1.406 GB, free: 18.37 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.118e-05/1.36, allocations: 77.14 kB / 1.406 GB, free: 18.31 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/1.361, allocations: 28.94 kB / 1.406 GB, free: 18.29 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009518/1.362, allocations: 429 kB / 1.407 GB, free: 17.84 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004681/1.362, allocations: 0.7514 MB / 1.407 GB, free: 17.07 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002646/1.362, allocations: 85.92 kB / 1.408 GB, free: 16.98 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.964e-05/1.362, allocations: 47.67 kB / 1.408 GB, free: 16.96 MB / 0.8386 GB Notification: Performance of SimCode: time 3.71e-07/1.363, allocations: 0 / 1.408 GB, free: 16.96 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02363/1.386, allocations: 3.046 MB / 1.411 GB, free: 13.93 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002634/1.386, allocations: 182.8 kB / 1.411 GB, free: 13.73 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.752/3.138, allocations: 0 / 1.411 GB, free: 13.73 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor_res.mat does not exist to compare? outputFormat=mat