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.422/2.422, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001218/0.001218, allocations: 176.8 kB / 487.4 MB, free: 5.039 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.629/1.629, allocations: 221.5 MB / 0.7824 GB, free: 0.9492 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009089/0.0009089, allocations: 103.8 kB / 0.9219 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.387e-05/2.389e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2522, allocations: 142.4 MB / 1.206 GB, free: 43.82 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.927/1.179, allocations: 148.1 MB / 1.351 GB, free: 18.17 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001926/1.179, allocations: 70.5 kB / 1.351 GB, free: 18.17 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002155/1.182, allocations: 0.6621 MB / 1.351 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.014e-06/1.182, allocations: 0 / 1.351 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.442e-06/1.182, allocations: 0 / 1.351 GB, free: 33.84 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.0003209/1.182, allocations: 339.7 kB / 1.352 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/1.182, allocations: 11.62 kB / 1.352 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.072e-05/1.182, allocations: 2.141 kB / 1.352 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.253e-05/1.182, allocations: 166.9 kB / 1.352 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/1.182, allocations: 3.812 kB / 1.352 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/1.182, allocations: 1.875 kB / 1.352 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.542e-05/1.182, allocations: 7.094 kB / 1.352 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.393e-05/1.182, allocations: 42.27 kB / 1.352 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/1.182, allocations: 0 / 1.352 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/1.182, allocations: 4 kB / 1.352 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/1.182, allocations: 0 / 1.352 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003376/1.183, allocations: 245.1 kB / 1.352 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.644e-05/1.183, allocations: 25.22 kB / 1.352 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.21e-05/1.183, allocations: 15.61 kB / 1.352 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/1.183, allocations: 1.125 kB / 1.352 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.295e-05/1.183, allocations: 34.44 kB / 1.352 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/1.183, allocations: 3.938 kB / 1.352 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001207/1.183, allocations: 37.62 kB / 1.352 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.671e-05/1.183, allocations: 51.41 kB / 1.352 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.02e-05/1.183, allocations: 93.36 kB / 1.352 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.554e-06/1.183, allocations: 25.7 kB / 1.353 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.085e-05/1.183, allocations: 89.5 kB / 1.353 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.3e-05/1.183, allocations: 7.781 kB / 1.353 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/1.183, allocations: 0 / 1.353 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001048/1.183, allocations: 316.5 kB / 1.353 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.346e-05/1.183, allocations: 7.062 kB / 1.353 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.011e-05/1.183, allocations: 0 / 1.353 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.698e-05/1.183, allocations: 10.28 kB / 1.353 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.183, allocations: 3.031 kB / 1.353 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.523e-05/1.183, allocations: 49.83 kB / 1.353 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/1.183, allocations: 3.906 kB / 1.353 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/1.183, allocations: 0 / 1.353 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/1.183, allocations: 0 / 1.353 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.255e-05/1.184, allocations: 10.64 kB / 1.353 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/1.184, allocations: 3.844 kB / 1.353 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.034e-05/1.184, allocations: 10.45 kB / 1.353 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/1.184, allocations: 0 / 1.353 GB, free: 32.27 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 6.116e-05/1.184, allocations: 112.9 kB / 1.353 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.267e-05/1.184, allocations: 41.45 kB / 1.353 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.096e-05/1.184, allocations: 1.969 kB / 1.353 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.327e-05/1.184, allocations: 54.23 kB / 1.353 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/1.184, allocations: 0 / 1.353 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/1.184, allocations: 1.422 kB / 1.353 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/1.184, allocations: 1.219 kB / 1.353 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.649e-05/1.184, allocations: 137.3 kB / 1.353 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/1.184, allocations: 5.891 kB / 1.353 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.04e-05/1.184, allocations: 9.359 kB / 1.353 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/1.184, allocations: 0 / 1.353 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/1.184, allocations: 3.906 kB / 1.353 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/1.184, allocations: 1.594 kB / 1.353 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/1.184, allocations: 0 / 1.353 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.939e-05/1.184, allocations: 139.1 kB / 1.353 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.92e-05/1.184, allocations: 82.78 kB / 1.354 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/1.184, allocations: 0 / 1.354 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.757e-05/1.184, allocations: 10.28 kB / 1.354 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/1.184, allocations: 5.844 kB / 1.354 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/1.184, allocations: 1.281 kB / 1.354 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.634e-05/1.185, allocations: 79.44 kB / 1.354 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.185, allocations: 0 / 1.354 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002013/1.185, allocations: 3.969 kB / 1.354 GB, free: 31.61 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.0003639/1.185, allocations: 0.679 MB / 1.354 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.421e-05/1.185, allocations: 10.81 kB / 1.354 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/1.185, allocations: 0 / 1.354 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.052e-05/1.185, allocations: 13.64 kB / 1.354 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/1.185, allocations: 12.14 kB / 1.354 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000283/1.186, allocations: 84.97 kB / 1.354 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/1.186, allocations: 0.682 MB / 1.355 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.449e-05/1.186, allocations: 2.875 kB / 1.355 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.088e-05/1.186, allocations: 12.5 kB / 1.355 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.186, allocations: 0 / 1.355 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01661/1.203, allocations: 0.6878 MB / 1.356 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001567/1.203, allocations: 143.3 kB / 1.356 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.492/2.694, allocations: 0 / 1.356 GB, free: 29.88 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