Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=5000,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_10_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_10_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.001169/0.001169, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001026/0.001026, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.462/1.462, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.762/2.762, allocations: 437 MB / 0.7112 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 63.91 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.029/1.031, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.00231/1.033, allocations: 0.6618 MB / 1.168 GB, free: 3.23 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001405/1.034, allocations: 0.8117 MB / 1.169 GB, free: 2.406 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.802e-05/1.035, allocations: 0 / 1.169 GB, free: 2.406 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.043e-05/1.035, allocations: 3.938 kB / 1.169 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.951e-05/1.035, allocations: 7.922 kB / 1.169 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001746/1.035, allocations: 8 kB / 1.169 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.314e-05/1.035, allocations: 23.92 kB / 1.169 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/1.035, allocations: 15.98 kB / 1.169 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.27e-05/1.035, allocations: 15.88 kB / 1.169 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.974e-05/1.035, allocations: 7.984 kB / 1.169 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/1.035, allocations: 4 kB / 1.169 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.858e-06/1.035, allocations: 0 / 1.169 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.883e-05/1.035, allocations: 4 kB / 1.169 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.819e-05/1.035, allocations: 11.92 kB / 1.169 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.666e-05/1.035, allocations: 19.91 kB / 1.169 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.035, allocations: 0 / 1.169 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.747e-06/1.036, allocations: 3.984 kB / 1.169 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.794e-06/1.036, allocations: 8 kB / 1.169 GB, free: 2.273 MB / 0.8887 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.0005823/1.036, allocations: 331.3 kB / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/1.036, allocations: 12.91 kB / 1.169 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.343e-05/1.036, allocations: 0.9375 kB / 1.169 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/1.036, allocations: 168.4 kB / 1.169 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/1.036, allocations: 384 / 1.169 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/1.036, allocations: 384 / 1.169 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/1.037, allocations: 58.17 kB / 1.169 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/1.037, allocations: 192 / 1.169 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/1.037, allocations: 3.938 kB / 1.169 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/1.037, allocations: 0 / 1.169 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001827/1.037, allocations: 35.95 kB / 1.17 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005211/1.037, allocations: 245 kB / 1.17 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/1.038, allocations: 48.88 kB / 1.17 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.296e-05/1.038, allocations: 28.89 kB / 1.17 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/1.038, allocations: 0 / 1.17 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/1.038, allocations: 30.56 kB / 1.17 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/1.038, allocations: 0 / 1.17 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003885/1.038, allocations: 89.55 kB / 1.17 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/1.038, allocations: 55.34 kB / 1.17 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.177e-05/1.038, allocations: 93.86 kB / 1.17 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/1.038, allocations: 29.7 kB / 1.17 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.629e-05/1.038, allocations: 80.14 kB / 1.17 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/1.038, allocations: 15.83 kB / 1.17 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-05/1.038, allocations: 9.719 kB / 1.17 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001443/1.039, allocations: 323 kB / 1.171 GB, free: 448 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.647e-05/1.039, allocations: 11.98 kB / 1.171 GB, free: 436 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.468e-05/1.039, allocations: 15.98 kB / 1.171 GB, free: 420 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/1.039, allocations: 40.81 kB / 1.171 GB, free: 376 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.039, allocations: 0 / 1.171 GB, free: 376 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002618/1.039, allocations: 73.66 kB / 1.171 GB, free: 296 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/1.039, allocations: 4 kB / 1.171 GB, free: 292 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/1.039, allocations: 0 / 1.171 GB, free: 292 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/1.039, allocations: 3.938 kB / 1.171 GB, free: 288 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/1.039, allocations: 11.94 kB / 1.171 GB, free: 276 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/1.039, allocations: 0 / 1.171 GB, free: 276 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.162e-05/1.039, allocations: 7.984 kB / 1.171 GB, free: 268 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/1.039, allocations: 0 / 1.171 GB, free: 268 kB / 0.8887 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.882e-05/1.04, allocations: 113.9 kB / 1.171 GB, free: 144 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/1.04, allocations: 7.938 kB / 1.171 GB, free: 136 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002385/1.04, allocations: 68.77 kB / 1.171 GB, free: 56 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/1.04, allocations: 0 / 1.171 GB, free: 56 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/1.04, allocations: 0 / 1.171 GB, free: 56 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 6.848e-05/1.04, allocations: 81.11 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/1.04, allocations: 0 / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.066e-05/1.04, allocations: 16.02 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/1.04, allocations: 0 / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000264/1.04, allocations: 148.8 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002919/1.041, allocations: 246.7 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001173/1.041, allocations: 24.16 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.098e-05/1.041, allocations: 79.27 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of Backend: time 4.91e-07/1.041, allocations: 0 / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004643/1.041, allocations: 106.3 kB / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006142/1.042, allocations: 0.5595 MB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of Templates: time 0.003091/1.045, allocations: 0.5222 MB / 1.173 GB, free: 14.2 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches