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.002048/0.002048, 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.002419/0.002419, 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.56/1.56, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.875/2.875, allocations: 469.4 MB / 0.7428 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 75.89 kB / 1.066 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.279/1.281, allocations: 159.1 MB / 1.221 GB, free: 2.27 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.003061/1.284, allocations: 0.6646 MB / 1.222 GB, free: 1.605 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001507/1.285, allocations: 0.8079 MB / 1.222 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.533e-05/1.285, allocations: 0 / 1.222 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.056e-05/1.285, allocations: 3.938 kB / 1.222 GB, free: 0.7812 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/1.285, allocations: 7.938 kB / 1.222 GB, free: 0.7734 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002084/1.286, allocations: 3.984 kB / 1.222 GB, free: 0.7695 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/1.286, allocations: 31.91 kB / 1.222 GB, free: 0.7383 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/1.286, allocations: 12 kB / 1.222 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.316e-05/1.286, allocations: 3.938 kB / 1.222 GB, free: 0.7227 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.266e-05/1.286, allocations: 11.98 kB / 1.222 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/1.286, allocations: 4 kB / 1.222 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.124e-05/1.286, allocations: 0 / 1.222 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.252e-05/1.286, allocations: 7.938 kB / 1.222 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.936e-05/1.286, allocations: 7.984 kB / 1.222 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001179/1.286, allocations: 27.89 kB / 1.223 GB, free: 0.6641 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/1.286, allocations: 0 / 1.223 GB, free: 0.6641 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.085e-06/1.286, allocations: 0 / 1.223 GB, free: 0.6641 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.136e-05/1.286, allocations: 0 / 1.223 GB, free: 0.6641 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.0006791/1.287, allocations: 343.3 kB / 1.223 GB, free: 288 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.997e-05/1.287, allocations: 8.625 kB / 1.223 GB, free: 280 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.976e-05/1.287, allocations: 4.938 kB / 1.223 GB, free: 276 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/1.287, allocations: 160.4 kB / 1.223 GB, free: 76 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/1.287, allocations: 4.375 kB / 1.223 GB, free: 72 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/1.288, allocations: 384 / 1.223 GB, free: 72 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/1.288, allocations: 54.17 kB / 1.223 GB, free: 12 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/1.288, allocations: 4.188 kB / 1.223 GB, free: 8 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/1.288, allocations: 3.938 kB / 1.223 GB, free: 4 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/1.288, allocations: 0 / 1.223 GB, free: 4 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000211/1.288, allocations: 35.95 kB / 1.223 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004959/1.289, allocations: 252.8 kB / 1.223 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/1.289, allocations: 46.48 kB / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.224e-05/1.289, allocations: 24.84 kB / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/1.289, allocations: 0 / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/1.289, allocations: 38.56 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/1.289, allocations: 0 / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.000421/1.289, allocations: 77.73 kB / 1.224 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/1.289, allocations: 55.41 kB / 1.224 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/1.29, allocations: 101.8 kB / 1.224 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/1.29, allocations: 25.7 kB / 1.224 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.546e-05/1.29, allocations: 84.14 kB / 1.224 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/1.29, allocations: 3.906 kB / 1.224 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.239e-05/1.29, allocations: 17.66 kB / 1.224 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001516/1.29, allocations: 310.8 kB / 1.224 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.906e-05/1.29, allocations: 31.94 kB / 1.224 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.98e-05/1.29, allocations: 11.98 kB / 1.224 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/1.29, allocations: 40.83 kB / 1.224 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/1.29, allocations: 0 / 1.224 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002155/1.29, allocations: 69.66 kB / 1.224 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/1.29, allocations: 9.875 kB / 1.224 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/1.29, allocations: 0 / 1.224 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/1.29, allocations: 0 / 1.224 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/1.291, allocations: 7.984 kB / 1.224 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/1.291, allocations: 4 kB / 1.224 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.986e-05/1.291, allocations: 7.938 kB / 1.224 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/1.291, allocations: 0 / 1.224 GB, free: 14.64 MB / 0.9512 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.444e-05/1.291, allocations: 114.4 kB / 1.224 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.976e-05/1.291, allocations: 4.125 kB / 1.224 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000266/1.291, allocations: 72.78 kB / 1.224 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/1.291, allocations: 3.984 kB / 1.224 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/1.291, allocations: 0 / 1.224 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.641e-05/1.291, allocations: 81.02 kB / 1.225 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/1.291, allocations: 0 / 1.225 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.095e-05/1.291, allocations: 12.02 kB / 1.225 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.176e-05/1.291, allocations: 4 kB / 1.225 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003025/1.292, allocations: 156.8 kB / 1.225 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003208/1.292, allocations: 238.8 kB / 1.225 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.075e-05/1.292, allocations: 15.98 kB / 1.225 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.399e-05/1.292, allocations: 83.28 kB / 1.225 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of Backend: time 5.31e-07/1.292, allocations: 0 / 1.225 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005438/1.293, allocations: 100.7 kB / 1.225 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0008139/1.294, allocations: 0.5673 MB / 1.226 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of Templates: time 0.003241/1.297, allocations: 0.5261 MB / 1.226 GB, free: 12.57 MB / 0.9512 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