Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.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.Cos,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",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.328/2.328, allocations: 387.1 MB / 399.7 MB, free: 9.523 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.001159/0.001159, allocations: 184.1 kB / 492.3 MB, free: 0.6367 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.536/1.536, allocations: 221.3 MB / 0.7871 GB, free: 12.97 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.0009663/0.0009664, allocations: 87.95 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.088e-05/4.099e-05, allocations: 6.188 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2367, allocations: 142.3 MB / 1.213 GB, free: 38.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.006/1.243, allocations: 148.8 MB / 1.358 GB, free: 18.84 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/1.243, allocations: 71.92 kB / 1.358 GB, free: 18.84 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00281/1.246, allocations: 0.6724 MB / 1.359 GB, free: 34.51 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.322e-06/1.246, allocations: 0 / 1.359 GB, free: 34.51 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.526e-06/1.246, allocations: 0 / 1.359 GB, free: 34.51 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003345/1.247, allocations: 329 kB / 1.359 GB, free: 34.17 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/1.247, allocations: 16.33 kB / 1.359 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.38e-05/1.247, allocations: 30.56 kB / 1.359 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.151e-05/1.247, allocations: 0.7812 kB / 1.359 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.827e-05/1.247, allocations: 176.2 kB / 1.359 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/1.247, allocations: 0 / 1.359 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/1.247, allocations: 0.5156 kB / 1.359 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/1.247, allocations: 39.22 kB / 1.359 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/1.247, allocations: 0 / 1.359 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/1.247, allocations: 2.75 kB / 1.359 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/1.247, allocations: 0 / 1.359 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.779e-05/1.247, allocations: 15.34 kB / 1.359 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004562/1.248, allocations: 268.7 kB / 1.359 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.638e-05/1.248, allocations: 26.2 kB / 1.359 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.625e-05/1.248, allocations: 9.469 kB / 1.359 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/1.248, allocations: 7.969 kB / 1.359 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.539e-05/1.248, allocations: 31.17 kB / 1.359 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/1.248, allocations: 0 / 1.359 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002049/1.248, allocations: 37.8 kB / 1.359 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/1.248, allocations: 56.05 kB / 1.36 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/1.248, allocations: 95.95 kB / 1.36 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/1.248, allocations: 25.7 kB / 1.36 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.122e-05/1.248, allocations: 88.48 kB / 1.36 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/1.248, allocations: 4.562 kB / 1.36 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/1.248, allocations: 3.781 kB / 1.36 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000113/1.249, allocations: 315.9 kB / 1.36 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.057e-05/1.249, allocations: 9.438 kB / 1.36 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.15e-05/1.249, allocations: 0.6562 kB / 1.36 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.037e-05/1.249, allocations: 8.188 kB / 1.36 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.249, allocations: 0 / 1.36 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001075/1.249, allocations: 46.33 kB / 1.36 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/1.249, allocations: 3.875 kB / 1.36 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/1.249, allocations: 0 / 1.36 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/1.249, allocations: 4.766 kB / 1.36 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/1.249, allocations: 10.47 kB / 1.36 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/1.249, allocations: 3.938 kB / 1.36 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.403e-05/1.249, allocations: 7.297 kB / 1.36 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/1.249, allocations: 3.875 kB / 1.36 GB, free: 32.87 MB / 0.8386 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 () * 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 9.643e-05/1.249, allocations: 113.4 kB / 1.36 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.133e-05/1.249, allocations: 3.906 kB / 1.36 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001695/1.25, allocations: 50.94 kB / 1.36 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/1.25, allocations: 192 / 1.36 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/1.25, allocations: 1.719 kB / 1.36 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/1.25, allocations: 3.984 kB / 1.36 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/1.25, allocations: 161 kB / 1.36 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.25, allocations: 0 / 1.36 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.905e-05/1.25, allocations: 18.75 kB / 1.36 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/1.25, allocations: 0 / 1.36 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/1.25, allocations: 0 / 1.36 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/1.25, allocations: 0.7969 kB / 1.36 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/1.25, allocations: 3.938 kB / 1.36 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/1.25, allocations: 139.8 kB / 1.361 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.584e-05/1.25, allocations: 77.67 kB / 1.361 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/1.25, allocations: 7.969 kB / 1.361 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.323e-05/1.25, allocations: 14.28 kB / 1.361 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/1.25, allocations: 1.266 kB / 1.361 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/1.25, allocations: 4.531 kB / 1.361 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.25e-05/1.25, allocations: 75.8 kB / 1.361 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.31e-07/1.25, allocations: 0 / 1.361 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001962/1.251, allocations: 3.875 kB / 1.361 GB, free: 32.2 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 (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.0005548/1.251, allocations: 0.6812 MB / 1.361 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001107/1.251, allocations: 18.28 kB / 1.361 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.251, allocations: 0 / 1.361 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.312e-05/1.251, allocations: 4.641 kB / 1.361 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/1.252, allocations: 12.45 kB / 1.361 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000484/1.252, allocations: 93 kB / 1.362 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004777/1.253, allocations: 0.6808 MB / 1.362 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.907e-05/1.253, allocations: 0.7969 kB / 1.362 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.074e-05/1.253, allocations: 8.188 kB / 1.362 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of SimCode: time 4.01e-07/1.253, allocations: 0 / 1.362 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01521/1.268, allocations: 1.009 MB / 1.363 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002256/1.268, allocations: 160 kB / 1.363 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/2.857, allocations: 0 / 1.363 GB, free: 30.34 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos_res.mat does not exist to compare? outputFormat=mat