Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001774/0.001774, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 188.8 kB / 22.22 MB, free: 5.102 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.892/2.892, allocations: 476.7 MB / 0.7646 GB, free: 9.891 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos")
translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 67.89 kB / 1.11 GB, free: 6.281 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.04/1.042, allocations: 168.8 MB / 1.274 GB, free: 4.203 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002114/1.044, allocations: 0.6694 MB / 1.275 GB, free: 3.535 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.001087/1.045, allocations: 0.8234 MB / 1.276 GB, free: 2.699 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.022e-05/1.045, allocations: 4 kB / 1.276 GB, free: 2.695 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 2.733e-05/1.045, allocations: 0 / 1.276 GB, free: 2.695 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 6.471e-05/1.045, allocations: 7.922 kB / 1.276 GB, free: 2.688 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001847/1.045, allocations: 7.984 kB / 1.276 GB, free: 2.68 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 8.134e-05/1.045, allocations: 19.94 kB / 1.276 GB, free: 2.66 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/1.045, allocations: 7.984 kB / 1.276 GB, free: 2.652 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 6.617e-05/1.045, allocations: 15.94 kB / 1.276 GB, free: 2.637 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.044e-05/1.045, allocations: 7.984 kB / 1.276 GB, free: 2.629 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 1.513e-05/1.045, allocations: 0 / 1.276 GB, free: 2.629 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 8.606e-06/1.045, allocations: 4 kB / 1.276 GB, free: 2.625 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 2.051e-05/1.045, allocations: 4 kB / 1.276 GB, free: 2.621 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 3.451e-05/1.046, allocations: 15.92 kB / 1.276 GB, free: 2.605 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 9.497e-05/1.046, allocations: 22.58 kB / 1.276 GB, free: 2.586 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/1.046, allocations: 0 / 1.276 GB, free: 2.586 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.482e-06/1.046, allocations: 0 / 1.276 GB, free: 2.586 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 6.442e-06/1.046, allocations: 0 / 1.276 GB, free: 2.586 MB / 0.9669 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.0005518/1.046, allocations: 266.1 kB / 1.276 GB, free: 2.297 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/1.046, allocations: 8.031 kB / 1.276 GB, free: 2.289 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/1.046, allocations: 4.891 kB / 1.276 GB, free: 2.285 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/1.046, allocations: 114.5 kB / 1.276 GB, free: 2.148 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/1.046, allocations: 384 / 1.276 GB, free: 2.148 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/1.046, allocations: 384 / 1.276 GB, free: 2.148 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/1.047, allocations: 50.23 kB / 1.276 GB, free: 2.094 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/1.047, allocations: 192 / 1.276 GB, free: 2.094 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/1.047, allocations: 3.938 kB / 1.276 GB, free: 2.09 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/1.047, allocations: 4 kB / 1.276 GB, free: 2.086 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/1.047, allocations: 31.97 kB / 1.276 GB, free: 2.055 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003717/1.047, allocations: 223.9 kB / 1.277 GB, free: 1.793 MB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/1.047, allocations: 42.42 kB / 1.277 GB, free: 1.742 MB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 8.628e-05/1.047, allocations: 28.91 kB / 1.277 GB, free: 1.711 MB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/1.047, allocations: 0 / 1.277 GB, free: 1.711 MB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/1.047, allocations: 30.56 kB / 1.277 GB, free: 1.672 MB / 0.9669 GB
Notification: Performance of pre-optimization done (n=2): time 1.042e-06/1.047, allocations: 0 / 1.277 GB, free: 1.672 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=2): time 0.0003562/1.048, allocations: 85.58 kB / 1.277 GB, free: 1.582 MB / 0.9669 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/1.048, allocations: 59.47 kB / 1.277 GB, free: 1.512 MB / 0.9669 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.023e-05/1.048, allocations: 105.8 kB / 1.277 GB, free: 1.398 MB / 0.9669 GB
Notification: Performance of collectPreVariables (initialization): time 2.767e-05/1.048, allocations: 25.7 kB / 1.277 GB, free: 1.367 MB / 0.9669 GB
Notification: Performance of collectInitialEqns (initialization): time 4.828e-05/1.048, allocations: 84.09 kB / 1.277 GB, free: 1.281 MB / 0.9669 GB
Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/1.048, allocations: 7.953 kB / 1.277 GB, free: 1.273 MB / 0.9669 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/1.048, allocations: 13.72 kB / 1.277 GB, free: 1.254 MB / 0.9669 GB
Notification: Performance of setup shared object (initialization): time 0.0001584/1.048, allocations: 318.8 kB / 1.277 GB, free: 0.9336 MB / 0.9669 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.857e-05/1.048, allocations: 15.98 kB / 1.277 GB, free: 0.918 MB / 0.9669 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.967e-05/1.048, allocations: 15.98 kB / 1.277 GB, free: 0.9023 MB / 0.9669 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/1.049, allocations: 36.83 kB / 1.277 GB, free: 0.8633 MB / 0.9669 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/1.049, allocations: 0 / 1.277 GB, free: 0.8633 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001865/1.049, allocations: 77.59 kB / 1.278 GB, free: 0.7812 MB / 0.9669 GB
Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/1.049, allocations: 4 kB / 1.278 GB, free: 0.7773 MB / 0.9669 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/1.049, allocations: 0 / 1.278 GB, free: 0.7773 MB / 0.9669 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/1.049, allocations: 0 / 1.278 GB, free: 0.7773 MB / 0.9669 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/1.049, allocations: 15.98 kB / 1.278 GB, free: 0.7617 MB / 0.9669 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/1.049, allocations: 0 / 1.278 GB, free: 0.7617 MB / 0.9669 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.656e-05/1.049, allocations: 7.984 kB / 1.278 GB, free: 0.7539 MB / 0.9669 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/1.049, allocations: 0 / 1.278 GB, free: 0.7539 MB / 0.9669 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 (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 9.485e-05/1.049, allocations: 113.8 kB / 1.278 GB, free: 0.6328 MB / 0.9669 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/1.049, allocations: 8.031 kB / 1.278 GB, free: 0.625 MB / 0.9669 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002166/1.049, allocations: 64.97 kB / 1.278 GB, free: 0.5586 MB / 0.9669 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/1.049, allocations: 0 / 1.278 GB, free: 0.5586 MB / 0.9669 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/1.049, allocations: 3.938 kB / 1.278 GB, free: 0.5547 MB / 0.9669 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/1.049, allocations: 0 / 1.278 GB, free: 0.5547 MB / 0.9669 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/1.049, allocations: 140.7 kB / 1.278 GB, free: 384 kB / 0.9669 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/1.049, allocations: 0 / 1.278 GB, free: 384 kB / 0.9669 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.606e-05/1.049, allocations: 7.984 kB / 1.278 GB, free: 376 kB / 0.9669 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/1.049, allocations: 4.031 kB / 1.278 GB, free: 372 kB / 0.9669 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/1.049, allocations: 4 kB / 1.278 GB, free: 368 kB / 0.9669 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/1.049, allocations: 0 / 1.278 GB, free: 368 kB / 0.9669 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/1.049, allocations: 0 / 1.278 GB, free: 368 kB / 0.9669 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/1.05, allocations: 163.4 kB / 1.278 GB, free: 188 kB / 0.9669 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.601e-06/1.05, allocations: 0 / 1.278 GB, free: 188 kB / 0.9669 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/1.05, allocations: 8.031 kB / 1.278 GB, free: 180 kB / 0.9669 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.525e-05/1.05, allocations: 11.92 kB / 1.278 GB, free: 168 kB / 0.9669 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/1.05, allocations: 3.938 kB / 1.278 GB, free: 164 kB / 0.9669 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/1.05, allocations: 4 kB / 1.278 GB, free: 160 kB / 0.9669 GB
Notification: Performance of sorting global known variables: time 4.49e-05/1.05, allocations: 75.28 kB / 1.278 GB, free: 84 kB / 0.9669 GB
Notification: Performance of sort global known variables: time 5.1e-08/1.05, allocations: 0 / 1.278 GB, free: 84 kB / 0.9669 GB
Notification: Performance of remove unused functions: time 0.0002056/1.05, allocations: 7.938 kB / 1.278 GB, free: 76 kB / 0.9669 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 (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001577/1.05, allocations: 109.6 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.000209/1.05, allocations: 31.97 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 1.894e-06/1.05, allocations: 0 / 1.278 GB, free: 15.93 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 7.82e-05/1.051, allocations: 15.98 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/1.051, allocations: 14.11 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003213/1.051, allocations: 118.3 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/1.052, allocations: 0.6767 MB / 1.279 GB, free: 15.05 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 2.194e-05/1.052, allocations: 0 / 1.279 GB, free: 15.05 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.636e-05/1.052, allocations: 11.44 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB
Notification: Performance of SimCode: time 2.7e-07/1.052, allocations: 0 / 1.279 GB, free: 15.04 MB / 0.9825 GB
Notification: Performance of Templates: time 0.002875/1.054, allocations: 446.2 kB / 1.28 GB, free: 14.61 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 9.395668008364737]