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.316/2.316, allocations: 393.5 MB / 408.4 MB, free: 11.08 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.001759/0.001759, allocations: 183.5 kB / 0.4901 GB, free: 2.262 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.705/1.705, allocations: 223.1 MB / 0.7992 GB, free: 14.76 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.001102/0.001103, allocations: 96.27 kB / 0.9396 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003997/0.0004, allocations: 17.75 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.2996, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1982/0.4978, allocations: 149.6 MB / 1.375 GB, free: 3.871 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/0.4982, allocations: 71.95 kB / 1.375 GB, free: 3.801 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001897/0.5001, allocations: 0.6697 MB / 1.376 GB, free: 3.129 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.077e-06/0.5001, allocations: 0 / 1.376 GB, free: 3.129 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.5001, allocations: 7.938 kB / 1.376 GB, free: 3.121 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.0004204/0.5006, allocations: 335.4 kB / 1.376 GB, free: 2.746 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.229e-05/0.5006, allocations: 12.5 kB / 1.376 GB, free: 2.734 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.784e-05/0.5007, allocations: 38.56 kB / 1.377 GB, free: 2.688 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.673e-05/0.5007, allocations: 7.906 kB / 1.377 GB, free: 2.68 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.5009, allocations: 167 kB / 1.377 GB, free: 2.477 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-06/0.5009, allocations: 0 / 1.377 GB, free: 2.477 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.5009, allocations: 4 kB / 1.377 GB, free: 2.473 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.5011, allocations: 53.67 kB / 1.377 GB, free: 2.414 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.5011, allocations: 0 / 1.377 GB, free: 2.414 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.5011, allocations: 4 kB / 1.377 GB, free: 2.41 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.5011, allocations: 0 / 1.377 GB, free: 2.41 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.5013, allocations: 47.89 kB / 1.377 GB, free: 2.363 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004258/0.5017, allocations: 264.9 kB / 1.377 GB, free: 2.055 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.5019, allocations: 42.55 kB / 1.377 GB, free: 2.004 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.5019, allocations: 0 / 1.377 GB, free: 2.004 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.502, allocations: 38.62 kB / 1.377 GB, free: 1.957 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.502, allocations: 0 / 1.377 GB, free: 1.957 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0003695/0.5023, allocations: 97.58 kB / 1.377 GB, free: 1.855 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.5024, allocations: 55.53 kB / 1.377 GB, free: 1.789 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.094e-05/0.5025, allocations: 100.9 kB / 1.377 GB, free: 1.684 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.5025, allocations: 25.7 kB / 1.377 GB, free: 1.652 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.193e-05/0.5025, allocations: 84.14 kB / 1.377 GB, free: 1.566 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.5026, allocations: 3.906 kB / 1.377 GB, free: 1.562 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-06/0.5026, allocations: 0 / 1.377 GB, free: 1.562 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.5027, allocations: 318.8 kB / 1.378 GB, free: 1.242 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.476e-05/0.5028, allocations: 23.98 kB / 1.378 GB, free: 1.219 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.22e-05/0.5029, allocations: 19.98 kB / 1.378 GB, free: 1.199 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.393e-05/0.5029, allocations: 19.98 kB / 1.378 GB, free: 1.18 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.503, allocations: 4.062 kB / 1.378 GB, free: 1.176 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002106/0.5032, allocations: 77.59 kB / 1.378 GB, free: 1.094 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.5032, allocations: 4 kB / 1.378 GB, free: 1.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.5032, allocations: 0 / 1.378 GB, free: 1.09 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.5032, allocations: 4 kB / 1.378 GB, free: 1.086 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.769e-05/0.5033, allocations: 16.02 kB / 1.378 GB, free: 1.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.5033, allocations: 3.938 kB / 1.378 GB, free: 1.066 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.818e-05/0.5034, allocations: 15.89 kB / 1.378 GB, free: 1.051 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.5034, allocations: 7.953 kB / 1.378 GB, free: 1.043 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.863e-05/0.5035, allocations: 109.8 kB / 1.378 GB, free: 0.9258 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.5035, allocations: 0 / 1.378 GB, free: 0.9258 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002462/0.5038, allocations: 88.72 kB / 1.378 GB, free: 0.8359 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.5038, allocations: 0 / 1.378 GB, free: 0.8359 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.5038, allocations: 0 / 1.378 GB, free: 0.8359 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.5038, allocations: 0 / 1.378 GB, free: 0.8359 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.504, allocations: 165.6 kB / 1.378 GB, free: 0.625 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.504, allocations: 0 / 1.378 GB, free: 0.625 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.896e-05/0.5041, allocations: 16.02 kB / 1.378 GB, free: 0.6094 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.5041, allocations: 0 / 1.378 GB, free: 0.6094 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.5041, allocations: 4 kB / 1.378 GB, free: 0.6055 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.5041, allocations: 0 / 1.378 GB, free: 0.6055 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.5041, allocations: 0 / 1.378 GB, free: 0.6055 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.5044, allocations: 175.5 kB / 1.379 GB, free: 428 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.826e-05/0.5044, allocations: 81.11 kB / 1.379 GB, free: 328 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.5044, allocations: 0 / 1.379 GB, free: 328 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.907e-05/0.5045, allocations: 7.984 kB / 1.379 GB, free: 320 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/0.5046, allocations: 4 kB / 1.379 GB, free: 316 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.5046, allocations: 32 / 1.379 GB, free: 316 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 7.16e-05/0.5046, allocations: 87.22 kB / 1.379 GB, free: 228 kB / 0.8698 GB Notification: Performance of sort global known variables: time 2.71e-07/0.5047, allocations: 0 / 1.379 GB, free: 228 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002019/0.5049, allocations: 4 kB / 1.379 GB, free: 224 kB / 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.0005871/0.5055, allocations: 0.7131 MB / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002116/0.5057, allocations: 44 kB / 1.379 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.5057, allocations: 4 kB / 1.379 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.07e-05/0.5058, allocations: 27.92 kB / 1.379 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.506, allocations: 3.984 kB / 1.379 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004404/0.5064, allocations: 147.1 kB / 1.38 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.5067, allocations: 0.6809 MB / 1.38 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.592e-05/0.5068, allocations: 4 kB / 1.38 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.348e-05/0.5068, allocations: 11.44 kB / 1.38 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of SimCode: time 4.41e-07/0.5068, allocations: 0 / 1.38 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01228/0.5191, allocations: 0.9895 MB / 1.381 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/0.5193, allocations: 182.8 kB / 1.381 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.464/1.983, allocations: 1.25 kB / 1.381 GB, free: 13.39 MB / 0.8855 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