Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_latest_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_latest_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",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.296/2.296, allocations: 390.3 MB / 402.8 MB, free: 6.672 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.001034/0.001034, allocations: 176.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.583/1.583, allocations: 221.3 MB / 0.7915 GB, free: 5.371 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.001026/0.001026, allocations: 91.52 kB / 0.9317 GB, free: 5.684 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.462e-05/5.516e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.2993, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.023/1.322, allocations: 149.6 MB / 1.365 GB, free: 4.414 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/1.323, allocations: 71.83 kB / 1.365 GB, free: 4.375 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003427/1.326, allocations: 1.164 MB / 1.366 GB, free: 3.332 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.302e-06/1.326, allocations: 0 / 1.366 GB, free: 3.332 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.291e-05/1.326, allocations: 4 kB / 1.366 GB, free: 3.328 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004664/1.326, allocations: 381.7 kB / 1.367 GB, free: 2.914 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/1.327, allocations: 8.031 kB / 1.367 GB, free: 2.906 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.677e-05/1.327, allocations: 109.8 kB / 1.367 GB, free: 2.789 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/1.327, allocations: 95.09 kB / 1.367 GB, free: 2.695 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/1.327, allocations: 273.8 kB / 1.367 GB, free: 2.391 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.607e-05/1.327, allocations: 150.6 kB / 1.367 GB, free: 2.242 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.452e-05/1.327, allocations: 162 kB / 1.367 GB, free: 2.086 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.571e-05/1.327, allocations: 101 kB / 1.367 GB, free: 1.98 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.276e-05/1.327, allocations: 79.28 kB / 1.367 GB, free: 1.902 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.46e-05/1.327, allocations: 150.6 kB / 1.368 GB, free: 1.754 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.277e-05/1.327, allocations: 154.4 kB / 1.368 GB, free: 1.605 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.581e-05/1.328, allocations: 158.5 kB / 1.368 GB, free: 1.449 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004569/1.328, allocations: 0.498 MB / 1.368 GB, free: 0.9219 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/1.328, allocations: 169.1 kB / 1.369 GB, free: 0.7461 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.842e-05/1.328, allocations: 83.89 kB / 1.369 GB, free: 0.6641 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.758e-05/1.328, allocations: 75.28 kB / 1.369 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.339e-05/1.328, allocations: 113.8 kB / 1.369 GB, free: 480 kB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 1.824e-06/1.328, allocations: 0 / 1.369 GB, free: 480 kB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 0.0001037/1.328, allocations: 37.52 kB / 1.369 GB, free: 436 kB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.385e-05/1.329, allocations: 130.7 kB / 1.369 GB, free: 292 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002497/1.329, allocations: 206.8 kB / 1.369 GB, free: 100 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.534e-05/1.329, allocations: 28.02 kB / 1.369 GB, free: 68 kB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/1.329, allocations: 118.8 kB / 1.369 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.035e-06/1.329, allocations: 0 / 1.369 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-06/1.329, allocations: 0 / 1.369 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001616/1.329, allocations: 333.4 kB / 1.37 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.744e-05/1.329, allocations: 43.78 kB / 1.37 GB, free: 15.6 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/1.329, allocations: 183.4 kB / 1.37 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/1.33, allocations: 71.92 kB / 1.37 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.33, allocations: 4 kB / 1.37 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004586/1.33, allocations: 232.4 kB / 1.37 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/1.33, allocations: 12.03 kB / 1.37 GB, free: 15.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/1.33, allocations: 4 kB / 1.37 GB, free: 15.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/1.33, allocations: 4 kB / 1.37 GB, free: 15.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/1.33, allocations: 50.28 kB / 1.37 GB, free: 15.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/1.33, allocations: 7.938 kB / 1.37 GB, free: 15.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/1.331, allocations: 27.88 kB / 1.37 GB, free: 14.99 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.674e-05/1.331, allocations: 12 kB / 1.37 GB, free: 14.98 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001424/1.331, allocations: 194.7 kB / 1.37 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.05e-05/1.331, allocations: 116.9 kB / 1.371 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.067e-05/1.331, allocations: 109.5 kB / 1.371 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.025e-05/1.331, allocations: 183.6 kB / 1.371 GB, free: 14.37 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.487e-05/1.331, allocations: 180.3 kB / 1.371 GB, free: 14.18 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.114e-05/1.331, allocations: 184.2 kB / 1.371 GB, free: 14 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003124/1.331, allocations: 443 kB / 1.372 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.115e-05/1.332, allocations: 105 kB / 1.372 GB, free: 13.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.848e-05/1.332, allocations: 112.8 kB / 1.372 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.152e-05/1.332, allocations: 176.3 kB / 1.372 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.999e-05/1.332, allocations: 180.2 kB / 1.372 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.296e-05/1.332, allocations: 180.3 kB / 1.372 GB, free: 12.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.278e-05/1.332, allocations: 187.5 kB / 1.372 GB, free: 12.56 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/1.332, allocations: 311.6 kB / 1.373 GB, free: 12.23 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/1.332, allocations: 205 kB / 1.373 GB, free: 12.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.027e-05/1.332, allocations: 180.3 kB / 1.373 GB, free: 11.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/1.332, allocations: 105 kB / 1.373 GB, free: 11.71 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.059e-05/1.333, allocations: 184.2 kB / 1.373 GB, free: 11.53 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.422e-05/1.333, allocations: 106 kB / 1.374 GB, free: 11.42 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.00014/1.333, allocations: 152.9 kB / 1.374 GB, free: 11.29 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.01e-07/1.333, allocations: 0 / 1.374 GB, free: 11.29 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003534/1.333, allocations: 30.25 kB / 1.374 GB, free: 11.26 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0005353/1.334, allocations: 0.8303 MB / 1.375 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001994/1.334, allocations: 87.08 kB / 1.375 GB, free: 10.33 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/1.334, allocations: 0 / 1.375 GB, free: 10.33 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.324e-06/1.334, allocations: 4.312 kB / 1.375 GB, free: 10.32 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/1.334, allocations: 0.5265 MB / 1.375 GB, free: 9.801 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000604/1.335, allocations: 285 kB / 1.375 GB, free: 9.492 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/1.335, allocations: 0.7169 MB / 1.376 GB, free: 8.75 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.174e-05/1.335, allocations: 20.67 kB / 1.376 GB, free: 8.73 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.103e-05/1.335, allocations: 34.55 kB / 1.376 GB, free: 8.715 MB / 0.8386 GB Notification: Performance of SimCode: time 6.71e-07/1.335, allocations: 0 / 1.376 GB, free: 8.715 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01611/1.352, allocations: 2.294 MB / 1.378 GB, free: 6.59 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002389/1.352, allocations: 172.5 kB / 1.379 GB, free: 6.367 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.793/3.145, allocations: 7.938 kB / 1.379 GB, free: 6.359 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat does not exist to compare? outputFormat=mat