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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 119.8 kB / 16.42 MB, free: 6.496 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.002325/0.002325, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.324/2.324, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 63.91 kB / 0.9516 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9828/0.9843, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.001834/0.9862, allocations: 0.6618 MB / 1.089 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008145/0.987, allocations: 0.8046 MB / 1.09 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.561e-05/0.987, allocations: 0.7188 kB / 1.09 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.971e-05/0.9871, allocations: 3.938 kB / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.661e-05/0.9872, allocations: 5.141 kB / 1.09 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001467/0.9873, allocations: 15.36 kB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.538e-05/0.9874, allocations: 24.08 kB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.9875, allocations: 13.05 kB / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.785e-05/0.9876, allocations: 5.031 kB / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.403e-05/0.9876, allocations: 17.72 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.9877, allocations: 1.094 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.121e-05/0.9877, allocations: 2.156 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.171e-05/0.9877, allocations: 6.516 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.013e-05/0.9878, allocations: 10.45 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.174e-05/0.9878, allocations: 21.69 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.9879, allocations: 0 / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.814e-06/0.9879, allocations: 0 / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5e-06/0.9879, allocations: 1.125 kB / 1.09 GB, free: 4.434 MB / 0.8575 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.0005245/0.9884, allocations: 335.4 kB / 1.091 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.413e-05/0.9885, allocations: 9.875 kB / 1.091 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.986e-05/0.9885, allocations: 5.969 kB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.9887, allocations: 171.8 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.9887, allocations: 1.438 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.9887, allocations: 1.344 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/0.989, allocations: 56.92 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.989, allocations: 4.172 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.989, allocations: 4.5 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.989, allocations: 5.344 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001878/0.9892, allocations: 32.39 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000401/0.9896, allocations: 245.8 kB / 1.091 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.9898, allocations: 41.38 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.24e-05/0.9899, allocations: 26.95 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.9899, allocations: 1.906 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.9899, allocations: 35.22 kB / 1.091 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.9899, allocations: 0 / 1.091 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003637/0.9903, allocations: 76.17 kB / 1.091 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.874e-05/0.9903, allocations: 56.09 kB / 1.091 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.284e-05/0.9904, allocations: 101.2 kB / 1.091 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.335e-06/0.9904, allocations: 26.8 kB / 1.091 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.905e-05/0.9904, allocations: 85.56 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.9905, allocations: 5.797 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.661e-05/0.9905, allocations: 12.08 kB / 1.092 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.496e-05/0.9906, allocations: 312.7 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.557e-05/0.9907, allocations: 26.08 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.371e-05/0.9907, allocations: 14.62 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.9909, allocations: 37.34 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.9909, allocations: 0 / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001933/0.9911, allocations: 78.97 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.9911, allocations: 13.41 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.9911, allocations: 1.984 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.9911, allocations: 0 / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.347e-05/0.9912, allocations: 8.641 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.9913, allocations: 0.5625 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.128e-05/0.9913, allocations: 6.406 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.9913, allocations: 0.5625 kB / 1.092 GB, free: 2.715 MB / 0.8575 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 5.937e-05/0.9914, allocations: 112.4 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.9914, allocations: 8.844 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.9917, allocations: 72.09 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.9917, allocations: 0.7969 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.9917, allocations: 1.219 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.736e-05/0.9917, allocations: 77.91 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.9917, allocations: 0.8125 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.518e-05/0.9918, allocations: 6.609 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.9919, allocations: 6.234 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002453/0.9921, allocations: 154.2 kB / 1.092 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002329/0.9923, allocations: 234.6 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.222e-05/0.9924, allocations: 19.67 kB / 1.093 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.687e-05/0.9925, allocations: 80.44 kB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of Backend: time 2.7e-07/0.9925, allocations: 0 / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004328/0.9929, allocations: 101.9 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003776/0.9933, allocations: 0.554 MB / 1.093 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of Templates: time 0.002836/0.9962, allocations: 0.5386 MB / 1.094 GB, free: 1.309 MB / 0.8575 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches