Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) 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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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=5000,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 114.7 kB / 16.42 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 190 kB / 17.35 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.732/2.732, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 63.91 kB / 1.055 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.089/1.09, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002207/1.093, allocations: 0.665 MB / 1.209 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001222/1.094, allocations: 0.8117 MB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.546e-05/1.094, allocations: 0 / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.418e-05/1.094, allocations: 0 / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.798e-05/1.094, allocations: 3.938 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001799/1.094, allocations: 11.97 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.277e-05/1.094, allocations: 23.92 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/1.095, allocations: 12 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.082e-05/1.095, allocations: 7.984 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.598e-05/1.095, allocations: 7.938 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/1.095, allocations: 4 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.035e-06/1.095, allocations: 0 / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.08e-05/1.095, allocations: 8 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.426e-05/1.095, allocations: 7.922 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.764e-05/1.095, allocations: 23.89 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/1.095, allocations: 4 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.743e-06/1.095, allocations: 0 / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.646e-06/1.095, allocations: 8 kB / 1.21 GB, free: 11.98 MB / 0.9356 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.0005681/1.096, allocations: 339.2 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/1.096, allocations: 8.031 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.276e-05/1.096, allocations: 0.9375 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/1.096, allocations: 168.4 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/1.096, allocations: 384 / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/1.096, allocations: 384 / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/1.096, allocations: 54.23 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/1.096, allocations: 192 / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/1.096, allocations: 3.938 kB / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/1.096, allocations: 0 / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001751/1.096, allocations: 35.95 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004819/1.097, allocations: 248.9 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/1.097, allocations: 46.53 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.603e-05/1.097, allocations: 20.91 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/1.097, allocations: 3.938 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/1.097, allocations: 34.56 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/1.097, allocations: 0 / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003662/1.098, allocations: 89.48 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/1.098, allocations: 51.41 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.602e-05/1.098, allocations: 109.8 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/1.098, allocations: 25.7 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.959e-05/1.098, allocations: 84.14 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/1.098, allocations: 7.906 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/1.098, allocations: 9.719 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001122/1.098, allocations: 319 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.151e-05/1.098, allocations: 19.97 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.988e-05/1.098, allocations: 11.98 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/1.098, allocations: 36.83 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.098, allocations: 0 / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002077/1.098, allocations: 81.59 kB / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/1.098, allocations: 4 kB / 1.212 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/1.098, allocations: 0 / 1.212 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/1.098, allocations: 0 / 1.212 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/1.099, allocations: 11.98 kB / 1.212 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/1.099, allocations: 0 / 1.212 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.142e-05/1.099, allocations: 7.984 kB / 1.212 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/1.099, allocations: 0 / 1.212 GB, free: 9.965 MB / 0.9356 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 8.421e-05/1.099, allocations: 109.9 kB / 1.212 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/1.099, allocations: 7.938 kB / 1.212 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002412/1.099, allocations: 72.72 kB / 1.212 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/1.099, allocations: 0 / 1.212 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/1.099, allocations: 0 / 1.212 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.233e-05/1.099, allocations: 81.11 kB / 1.212 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/1.099, allocations: 0 / 1.212 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.825e-05/1.099, allocations: 16.02 kB / 1.212 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/1.099, allocations: 0 / 1.212 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002762/1.1, allocations: 152.9 kB / 1.212 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002923/1.1, allocations: 242.7 kB / 1.212 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.189e-05/1.1, allocations: 19.98 kB / 1.212 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.068e-05/1.1, allocations: 79.28 kB / 1.213 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of Backend: time 6.11e-07/1.1, allocations: 0 / 1.213 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000483/1.101, allocations: 100.1 kB / 1.213 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0006697/1.101, allocations: 0.5595 MB / 1.213 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of Templates: time 0.002708/1.104, allocations: 0.528 MB / 1.214 GB, free: 7.902 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches