Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.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.Controls.OBC.CDL.Continuous.Validation.Log,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Log,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log",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.303/2.303, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001535/0.001535, allocations: 179 kB / 498.1 MB, free: 5.754 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.442/1.442, allocations: 223.2 MB / 0.7948 GB, free: 17.95 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.0009743/0.0009743, allocations: 98.77 kB / 0.9346 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003847/0.0003847, allocations: 13.94 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2688, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1739/0.4427, allocations: 148.8 MB / 1.368 GB, free: 13.17 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/0.443, allocations: 67.95 kB / 1.368 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001706/0.4448, allocations: 0.6408 MB / 1.369 GB, free: 12.46 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4448, allocations: 0 / 1.369 GB, free: 12.46 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.4448, allocations: 0 / 1.369 GB, free: 12.46 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003932/0.4452, allocations: 343.2 kB / 1.369 GB, free: 12.08 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.4453, allocations: 12.03 kB / 1.369 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.786e-05/0.4453, allocations: 34.56 kB / 1.369 GB, free: 12.03 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/0.4453, allocations: 7.984 kB / 1.369 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.4455, allocations: 171 kB / 1.37 GB, free: 11.81 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.4455, allocations: 0 / 1.37 GB, free: 11.81 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.4455, allocations: 0 / 1.37 GB, free: 11.81 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.4457, allocations: 57.67 kB / 1.37 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.4457, allocations: 3.938 kB / 1.37 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.4458, allocations: 0 / 1.37 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.4458, allocations: 0 / 1.37 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001809/0.446, allocations: 47.97 kB / 1.37 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004217/0.4464, allocations: 264.9 kB / 1.37 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.4465, allocations: 50.5 kB / 1.37 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.4466, allocations: 0 / 1.37 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.4466, allocations: 34.55 kB / 1.37 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.4466, allocations: 0 / 1.37 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0003664/0.447, allocations: 101.6 kB / 1.37 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.447, allocations: 55.34 kB / 1.37 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.582e-05/0.4471, allocations: 96.94 kB / 1.37 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.4471, allocations: 29.7 kB / 1.37 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.363e-05/0.4472, allocations: 80.27 kB / 1.37 GB, free: 10.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.4472, allocations: 7.906 kB / 1.37 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-06/0.4472, allocations: 0 / 1.37 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.4473, allocations: 318.8 kB / 1.371 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.578e-05/0.4474, allocations: 19.98 kB / 1.371 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.173e-05/0.4475, allocations: 27.92 kB / 1.371 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.671e-05/0.4476, allocations: 19.98 kB / 1.371 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4476, allocations: 0 / 1.371 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001987/0.4478, allocations: 77.72 kB / 1.371 GB, free: 10.42 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.4478, allocations: 8 kB / 1.371 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.4478, allocations: 0 / 1.371 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.4479, allocations: 0 / 1.371 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.571e-05/0.448, allocations: 11.98 kB / 1.371 GB, free: 10.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.448, allocations: 3.938 kB / 1.371 GB, free: 10.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.174e-05/0.448, allocations: 8 kB / 1.371 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.448, allocations: 11.97 kB / 1.371 GB, free: 10.38 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 7.929e-05/0.4481, allocations: 113.8 kB / 1.371 GB, free: 10.26 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.4482, allocations: 4 kB / 1.371 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002362/0.4484, allocations: 80.78 kB / 1.371 GB, free: 10.17 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4484, allocations: 0 / 1.371 GB, free: 10.17 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4484, allocations: 0 / 1.371 GB, free: 10.17 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4484, allocations: 0 / 1.371 GB, free: 10.17 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.4486, allocations: 161.8 kB / 1.371 GB, free: 9.961 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4486, allocations: 0 / 1.371 GB, free: 9.961 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.502e-05/0.4487, allocations: 12 kB / 1.371 GB, free: 9.949 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.4487, allocations: 3.984 kB / 1.371 GB, free: 9.945 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.4487, allocations: 0 / 1.371 GB, free: 9.945 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.4487, allocations: 4 kB / 1.371 GB, free: 9.941 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.4487, allocations: 11.95 kB / 1.371 GB, free: 9.93 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.449, allocations: 167.4 kB / 1.371 GB, free: 9.75 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.238e-05/0.449, allocations: 85 kB / 1.371 GB, free: 9.648 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.449, allocations: 4.031 kB / 1.371 GB, free: 9.645 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.192e-05/0.4491, allocations: 12 kB / 1.371 GB, free: 9.633 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/0.4492, allocations: 7.984 kB / 1.371 GB, free: 9.625 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.688e-06/0.4492, allocations: 0 / 1.371 GB, free: 9.625 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.841e-05/0.4492, allocations: 79.28 kB / 1.372 GB, free: 9.547 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.9e-07/0.4492, allocations: 0 / 1.372 GB, free: 9.547 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002192/0.4494, allocations: 4 kB / 1.372 GB, free: 9.543 MB / 0.8698 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0005592/0.45, allocations: 0.7122 MB / 1.372 GB, free: 8.805 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002022/0.4502, allocations: 51.98 kB / 1.372 GB, free: 8.754 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4502, allocations: 0 / 1.372 GB, free: 8.754 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.113e-05/0.4503, allocations: 31.98 kB / 1.372 GB, free: 8.723 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.4506, allocations: 4 kB / 1.372 GB, free: 8.719 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004339/0.451, allocations: 138.3 kB / 1.372 GB, free: 8.535 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.4513, allocations: 0.677 MB / 1.373 GB, free: 7.832 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.38e-05/0.4513, allocations: 0 / 1.373 GB, free: 7.832 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.211e-05/0.4514, allocations: 15.42 kB / 1.373 GB, free: 7.816 MB / 0.8698 GB Notification: Performance of SimCode: time 3.91e-07/0.4514, allocations: 4.062 kB / 1.373 GB, free: 7.812 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01231/0.4637, allocations: 0.993 MB / 1.374 GB, free: 6.941 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/0.4639, allocations: 180 kB / 1.374 GB, free: 6.707 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.441/1.904, allocations: 4 kB / 1.374 GB, free: 6.703 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log_res.mat does not exist to compare? outputFormat=mat