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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.327/2.327, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001129/0.001128, allocations: 185 kB / 498.1 MB, free: 5.746 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.653/1.653, allocations: 223.2 MB / 0.7948 GB, free: 17.88 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.0008824/0.0008823, allocations: 94.89 kB / 0.9346 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003727/0.0003728, allocations: 14.53 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3232, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1906/0.5139, allocations: 148.9 MB / 1.368 GB, free: 13.23 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/0.5142, allocations: 67.89 kB / 1.368 GB, free: 13.17 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001811/0.5161, allocations: 0.6732 MB / 1.369 GB, free: 12.49 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.335e-06/0.5161, allocations: 0 / 1.369 GB, free: 12.49 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.5161, allocations: 0 / 1.369 GB, free: 12.49 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.0004101/0.5165, allocations: 339.2 kB / 1.369 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.5166, allocations: 12.03 kB / 1.369 GB, free: 12.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.374e-05/0.5166, allocations: 0 / 1.369 GB, free: 12.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.5168, allocations: 167 kB / 1.369 GB, free: 11.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.5168, allocations: 4 kB / 1.369 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.5168, allocations: 7.938 kB / 1.369 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.517, allocations: 52.42 kB / 1.37 GB, free: 11.83 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.517, allocations: 7.922 kB / 1.37 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.5171, allocations: 0 / 1.37 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.5171, allocations: 0 / 1.37 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001731/0.5172, allocations: 43.97 kB / 1.37 GB, free: 11.78 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004102/0.5177, allocations: 268.9 kB / 1.37 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.5179, allocations: 46.5 kB / 1.37 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.5179, allocations: 4.062 kB / 1.37 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.5179, allocations: 30.56 kB / 1.37 GB, free: 11.37 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/0.5179, allocations: 0 / 1.37 GB, free: 11.37 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0005354/0.5185, allocations: 93.64 kB / 1.37 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.5186, allocations: 55.41 kB / 1.37 GB, free: 11.21 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.53e-05/0.5186, allocations: 92.98 kB / 1.37 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.5187, allocations: 29.83 kB / 1.37 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.163e-05/0.5188, allocations: 91.98 kB / 1.37 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.583e-05/0.5188, allocations: 4 kB / 1.37 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-06/0.5188, allocations: 0 / 1.37 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.5189, allocations: 314.8 kB / 1.371 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.294e-05/0.519, allocations: 23.98 kB / 1.371 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.53e-05/0.5191, allocations: 23.97 kB / 1.371 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.289e-05/0.5192, allocations: 23.98 kB / 1.371 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.5192, allocations: 0 / 1.371 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001882/0.5194, allocations: 81.62 kB / 1.371 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.5194, allocations: 5.406 kB / 1.371 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.5194, allocations: 7.938 kB / 1.371 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.5194, allocations: 0 / 1.371 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.113e-05/0.5195, allocations: 8 kB / 1.371 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.5195, allocations: 3.984 kB / 1.371 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.273e-05/0.5196, allocations: 8.031 kB / 1.371 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.5196, allocations: 4 kB / 1.371 GB, free: 10.47 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.708e-05/0.5197, allocations: 113.7 kB / 1.371 GB, free: 10.35 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/0.5197, allocations: 0 / 1.371 GB, free: 10.35 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002826/0.52, allocations: 88.77 kB / 1.371 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.52, allocations: 0 / 1.371 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5201, allocations: 0 / 1.371 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.5201, allocations: 4 kB / 1.371 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.5202, allocations: 161.6 kB / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.5202, allocations: 0 / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.421e-05/0.5203, allocations: 15.98 kB / 1.371 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.5203, allocations: 0 / 1.371 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.5203, allocations: 4.031 kB / 1.371 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.5203, allocations: 3.984 kB / 1.371 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/0.5203, allocations: 192 / 1.371 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.5206, allocations: 187.3 kB / 1.371 GB, free: 9.82 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.505e-05/0.5207, allocations: 85 kB / 1.371 GB, free: 9.719 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.5207, allocations: 0 / 1.371 GB, free: 9.719 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.001e-05/0.5208, allocations: 11.98 kB / 1.371 GB, free: 9.707 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.5208, allocations: 0 / 1.371 GB, free: 9.707 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.5208, allocations: 0 / 1.371 GB, free: 9.707 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.19e-05/0.5209, allocations: 87.27 kB / 1.371 GB, free: 9.621 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5209, allocations: 0 / 1.371 GB, free: 9.621 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001921/0.5211, allocations: 4 kB / 1.371 GB, free: 9.617 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.0001407/0.5212, allocations: 103.1 kB / 1.372 GB, free: 9.508 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001989/0.5214, allocations: 51.89 kB / 1.372 GB, free: 9.457 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5214, allocations: 0 / 1.372 GB, free: 9.457 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.184e-05/0.5215, allocations: 28.05 kB / 1.372 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.5217, allocations: 7.953 kB / 1.372 GB, free: 9.422 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002822/0.522, allocations: 108.6 kB / 1.372 GB, free: 9.281 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.5223, allocations: 0.6809 MB / 1.372 GB, free: 8.574 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.386e-05/0.5223, allocations: 4.062 kB / 1.372 GB, free: 8.57 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.904e-05/0.5224, allocations: 7.438 kB / 1.372 GB, free: 8.562 MB / 0.8698 GB Notification: Performance of SimCode: time 3.01e-07/0.5224, allocations: 0 / 1.372 GB, free: 8.562 MB / 0.8698 GB Notification: Performance of Templates: time 0.002569/0.525, allocations: 347.3 kB / 1.373 GB, free: 8.227 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Cos.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches