Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.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.Exp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp",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.291/2.291, allocations: 390.3 MB / 405.3 MB, free: 13.37 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.001089/0.001089, allocations: 181 kB / 498.1 MB, free: 5.613 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.503/1.503, allocations: 223.2 MB / 0.7948 GB, free: 17.98 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.0008866/0.0008867, allocations: 105.6 kB / 0.9346 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003928/0.000393, allocations: 11 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2746, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1809/0.4556, allocations: 148.8 MB / 1.368 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002062/0.4558, allocations: 67.97 kB / 1.368 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001647/0.4575, allocations: 0.6485 MB / 1.369 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.714e-06/0.4575, allocations: 0 / 1.369 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.4576, allocations: 0 / 1.369 GB, free: 12.53 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.0003744/0.4579, allocations: 347.2 kB / 1.369 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.458, allocations: 12.03 kB / 1.369 GB, free: 12.13 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.844e-05/0.458, allocations: 30.56 kB / 1.369 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.032e-05/0.4581, allocations: 0 / 1.369 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.4582, allocations: 167 kB / 1.37 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-06/0.4582, allocations: 0 / 1.37 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.986e-06/0.4582, allocations: 3.984 kB / 1.37 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.4584, allocations: 57.62 kB / 1.37 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.4584, allocations: 0 / 1.37 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.4584, allocations: 0 / 1.37 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.4584, allocations: 0 / 1.37 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.4586, allocations: 47.95 kB / 1.37 GB, free: 11.78 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003836/0.459, allocations: 268.9 kB / 1.37 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.4591, allocations: 50.5 kB / 1.37 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.4591, allocations: 0 / 1.37 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.4592, allocations: 34.56 kB / 1.37 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.4592, allocations: 0 / 1.37 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0003435/0.4595, allocations: 101.6 kB / 1.37 GB, free: 11.26 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.4596, allocations: 51.41 kB / 1.37 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.233e-05/0.4596, allocations: 96.95 kB / 1.37 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.4597, allocations: 29.69 kB / 1.37 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.528e-05/0.4597, allocations: 80.14 kB / 1.37 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.388e-05/0.4597, allocations: 4.031 kB / 1.37 GB, free: 10.97 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-06/0.4597, allocations: 8 kB / 1.37 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.405e-05/0.4598, allocations: 318.8 kB / 1.371 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.993e-05/0.4599, allocations: 15.98 kB / 1.371 GB, free: 10.63 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.112e-05/0.46, allocations: 27.97 kB / 1.371 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.331e-05/0.4601, allocations: 20.05 kB / 1.371 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4601, allocations: 3.938 kB / 1.371 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001891/0.4603, allocations: 77.67 kB / 1.371 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.4603, allocations: 11.98 kB / 1.371 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.4603, allocations: 0 / 1.371 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.4603, allocations: 192 / 1.371 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.958e-05/0.4604, allocations: 11.94 kB / 1.371 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.4604, allocations: 0 / 1.371 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.298e-05/0.4605, allocations: 11.98 kB / 1.371 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.495e-06/0.4605, allocations: 7.938 kB / 1.371 GB, free: 10.45 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 0.000101/0.4606, allocations: 113.8 kB / 1.371 GB, free: 10.33 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.4607, allocations: 7.938 kB / 1.371 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002331/0.4609, allocations: 84.77 kB / 1.371 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.4609, allocations: 4.031 kB / 1.371 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.4609, allocations: 0 / 1.371 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.4609, allocations: 0 / 1.371 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.4611, allocations: 157.6 kB / 1.371 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4611, allocations: 0 / 1.371 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.24e-05/0.4612, allocations: 11.98 kB / 1.371 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.4612, allocations: 0 / 1.371 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.4612, allocations: 4 kB / 1.371 GB, free: 10.01 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4612, allocations: 4 kB / 1.371 GB, free: 10.01 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.4612, allocations: 0 / 1.371 GB, free: 10.01 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.4614, allocations: 179.4 kB / 1.371 GB, free: 9.816 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.576e-05/0.4615, allocations: 81.02 kB / 1.371 GB, free: 9.719 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.4615, allocations: 0 / 1.371 GB, free: 9.719 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.355e-05/0.4616, allocations: 16.02 kB / 1.371 GB, free: 9.703 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.4616, allocations: 0 / 1.371 GB, free: 9.703 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.4617, allocations: 4 kB / 1.371 GB, free: 9.699 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.437e-05/0.4617, allocations: 79.27 kB / 1.372 GB, free: 9.621 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4617, allocations: 0 / 1.372 GB, free: 9.621 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002027/0.4619, allocations: 8 kB / 1.372 GB, free: 9.613 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.0005435/0.4625, allocations: 0.7144 MB / 1.372 GB, free: 8.875 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002011/0.4627, allocations: 48 kB / 1.372 GB, free: 8.828 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4627, allocations: 0 / 1.372 GB, free: 8.828 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.777e-05/0.4628, allocations: 23.97 kB / 1.372 GB, free: 8.805 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.463, allocations: 12.12 kB / 1.372 GB, free: 8.793 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004167/0.4634, allocations: 138.3 kB / 1.372 GB, free: 8.609 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.4637, allocations: 0.677 MB / 1.373 GB, free: 7.906 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.351e-05/0.4637, allocations: 0 / 1.373 GB, free: 7.906 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.866e-05/0.4638, allocations: 15.38 kB / 1.373 GB, free: 7.891 MB / 0.8698 GB Notification: Performance of SimCode: time 3.3e-07/0.4638, allocations: 3.938 kB / 1.373 GB, free: 7.887 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0125/0.4763, allocations: 0.989 MB / 1.374 GB, free: 7.02 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002114/0.4765, allocations: 180.3 kB / 1.374 GB, free: 6.781 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.481/1.958, allocations: 0 / 1.374 GB, free: 6.781 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp_res.mat does not exist to compare? outputFormat=mat