Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.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.OBC.CDL.Continuous.Validation.Cos,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.492/2.492, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.00131/0.00131, allocations: 180.9 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.635/1.635, allocations: 221.3 MB / 0.7915 GB, free: 5.477 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.0009455/0.0009456, allocations: 91.89 kB / 0.9317 GB, free: 5.781 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.377e-05/4.429e-05, allocations: 7.984 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.312, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.044/1.356, allocations: 149.6 MB / 1.365 GB, free: 4.402 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/1.357, allocations: 66.28 kB / 1.365 GB, free: 4.367 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001731/1.358, allocations: 0.6752 MB / 1.366 GB, free: 3.742 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.803e-06/1.358, allocations: 0 / 1.366 GB, free: 3.742 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.194e-06/1.358, allocations: 0 / 1.366 GB, free: 3.742 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003369/1.359, allocations: 333.4 kB / 1.366 GB, free: 3.375 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/1.359, allocations: 12.03 kB / 1.366 GB, free: 3.363 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.121e-05/1.359, allocations: 30.56 kB / 1.366 GB, free: 3.324 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.314e-05/1.359, allocations: 0 / 1.366 GB, free: 3.324 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/1.359, allocations: 163.8 kB / 1.366 GB, free: 3.125 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/1.359, allocations: 4 kB / 1.366 GB, free: 3.121 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/1.359, allocations: 3.938 kB / 1.366 GB, free: 3.117 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/1.359, allocations: 39.94 kB / 1.366 GB, free: 3.078 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/1.359, allocations: 4 kB / 1.366 GB, free: 3.074 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/1.359, allocations: 0 / 1.366 GB, free: 3.074 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/1.359, allocations: 4 kB / 1.366 GB, free: 3.07 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.187e-05/1.359, allocations: 7.812 kB / 1.366 GB, free: 3.066 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004127/1.36, allocations: 274.6 kB / 1.367 GB, free: 2.758 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.294e-05/1.36, allocations: 34.14 kB / 1.367 GB, free: 2.719 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.625e-05/1.36, allocations: 16.72 kB / 1.367 GB, free: 2.703 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/1.36, allocations: 0 / 1.367 GB, free: 2.703 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/1.36, allocations: 30.56 kB / 1.367 GB, free: 2.664 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/1.36, allocations: 0 / 1.367 GB, free: 2.664 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001422/1.36, allocations: 36.95 kB / 1.367 GB, free: 2.625 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/1.36, allocations: 59.36 kB / 1.367 GB, free: 2.555 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.683e-05/1.36, allocations: 101.5 kB / 1.367 GB, free: 2.453 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/1.36, allocations: 25.7 kB / 1.367 GB, free: 2.422 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.812e-05/1.36, allocations: 88.06 kB / 1.367 GB, free: 2.332 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.4e-05/1.36, allocations: 3.906 kB / 1.367 GB, free: 2.328 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-06/1.36, allocations: 0 / 1.367 GB, free: 2.328 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001096/1.36, allocations: 318.6 kB / 1.367 GB, free: 2.012 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.406e-05/1.36, allocations: 0 / 1.367 GB, free: 2.012 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.58e-05/1.36, allocations: 6.75 kB / 1.367 GB, free: 2.008 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.349e-05/1.36, allocations: 14.02 kB / 1.367 GB, free: 1.996 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/1.36, allocations: 3.938 kB / 1.367 GB, free: 1.992 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.467e-05/1.361, allocations: 41.2 kB / 1.367 GB, free: 1.949 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/1.361, allocations: 4 kB / 1.367 GB, free: 1.945 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/1.361, allocations: 0 / 1.367 GB, free: 1.945 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/1.361, allocations: 0 / 1.367 GB, free: 1.945 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.626e-05/1.361, allocations: 11.98 kB / 1.367 GB, free: 1.934 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/1.361, allocations: 0 / 1.367 GB, free: 1.934 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.908e-05/1.361, allocations: 23.28 kB / 1.367 GB, free: 1.914 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/1.361, allocations: 0 / 1.367 GB, free: 1.914 MB / 0.823 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.132e-05/1.361, allocations: 104.9 kB / 1.367 GB, free: 1.805 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.118e-05/1.361, allocations: 4 kB / 1.367 GB, free: 1.801 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/1.361, allocations: 51.34 kB / 1.367 GB, free: 1.754 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/1.361, allocations: 0 / 1.367 GB, free: 1.754 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/1.361, allocations: 0 / 1.367 GB, free: 1.754 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/1.361, allocations: 0 / 1.367 GB, free: 1.754 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/1.361, allocations: 165.1 kB / 1.368 GB, free: 1.547 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/1.361, allocations: 0 / 1.368 GB, free: 1.547 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.322e-05/1.361, allocations: 15.92 kB / 1.368 GB, free: 1.531 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/1.361, allocations: 0 / 1.368 GB, free: 1.531 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/1.361, allocations: 0.5 kB / 1.368 GB, free: 1.531 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/1.361, allocations: 0 / 1.368 GB, free: 1.531 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/1.361, allocations: 0 / 1.368 GB, free: 1.531 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/1.361, allocations: 150.8 kB / 1.368 GB, free: 1.375 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.428e-05/1.361, allocations: 81.11 kB / 1.368 GB, free: 1.277 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/1.361, allocations: 0 / 1.368 GB, free: 1.277 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.854e-05/1.362, allocations: 11.98 kB / 1.368 GB, free: 1.266 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/1.362, allocations: 0 / 1.368 GB, free: 1.266 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/1.362, allocations: 4 kB / 1.368 GB, free: 1.262 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.741e-05/1.362, allocations: 75.28 kB / 1.368 GB, free: 1.188 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.71e-07/1.362, allocations: 0 / 1.368 GB, free: 1.188 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000189/1.362, allocations: 11.53 kB / 1.368 GB, free: 1.18 MB / 0.823 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.0003754/1.362, allocations: 0.676 MB / 1.369 GB, free: 492 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 8.136e-05/1.362, allocations: 15.36 kB / 1.369 GB, free: 480 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/1.362, allocations: 0 / 1.369 GB, free: 480 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.015e-05/1.362, allocations: 8.094 kB / 1.369 GB, free: 472 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001707/1.363, allocations: 7.062 kB / 1.369 GB, free: 468 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003289/1.363, allocations: 89.89 kB / 1.369 GB, free: 344 kB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/1.363, allocations: 0.6809 MB / 1.369 GB, free: 15.63 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.589e-05/1.363, allocations: 0 / 1.369 GB, free: 15.63 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.545e-05/1.363, allocations: 11.38 kB / 1.369 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of SimCode: time 4.91e-07/1.363, allocations: 3.938 kB / 1.369 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0116/1.375, allocations: 1.007 MB / 1.37 GB, free: 14.74 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002348/1.375, allocations: 166.8 kB / 1.371 GB, free: 14.51 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.598/2.973, allocations: 3.938 kB / 1.371 GB, free: 14.51 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos_res.mat does not exist to compare? outputFormat=mat