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.007438/0.007438, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001434/0.001434, allocations: 202.3 kB / 16.68 MB, free: 5.969 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.537/1.537, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.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.569/2.569, allocations: 390.2 MB / 0.6648 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 65.89 kB / 0.9509 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4037/0.4055, allocations: 140.4 MB / 1.088 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.002162/0.4077, allocations: 0.6592 MB / 1.089 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.409, allocations: 0.8122 MB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.711e-05/0.409, allocations: 0 / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.248e-05/0.4091, allocations: 0 / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.405e-05/0.4092, allocations: 3.938 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.4093, allocations: 15.92 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.666e-05/0.4094, allocations: 23.91 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.4096, allocations: 12 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.232e-05/0.4097, allocations: 11.81 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.323e-05/0.4097, allocations: 7.938 kB / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.4097, allocations: 4 kB / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.368e-06/0.4097, allocations: 0 / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.24e-05/0.4098, allocations: 11.98 kB / 1.09 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.196e-05/0.4098, allocations: 7.938 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.575e-05/0.4099, allocations: 19.95 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.4099, allocations: 0 / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.314e-06/0.4099, allocations: 0 / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.4099, allocations: 0 / 1.09 GB, free: 15.87 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.0005397/0.4105, allocations: 347.4 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.4105, allocations: 8.031 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.4106, allocations: 0.9375 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.4107, allocations: 164.4 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.4107, allocations: 4.312 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.4108, allocations: 8.297 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.4109, allocations: 46.25 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.411, allocations: 4.188 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.411, allocations: 3.938 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.411, allocations: 0 / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.4112, allocations: 35.95 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003941/0.4116, allocations: 240.9 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.4117, allocations: 50.47 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.266e-05/0.4118, allocations: 24.91 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.4118, allocations: 0 / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.4118, allocations: 30.56 kB / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.4119, allocations: 0 / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003476/0.4122, allocations: 85.59 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.4123, allocations: 55.41 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.396e-05/0.4123, allocations: 101.8 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.4124, allocations: 25.7 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.551e-05/0.4124, allocations: 88.14 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.4124, allocations: 3.953 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/0.4125, allocations: 9.719 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002028/0.4127, allocations: 323 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.88e-05/0.4128, allocations: 15.97 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.88e-05/0.4128, allocations: 11.98 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.413, allocations: 40.83 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.413, allocations: 0 / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001817/0.4132, allocations: 77.78 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.4132, allocations: 4 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.4132, allocations: 0 / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.4132, allocations: 7.922 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.11e-05/0.4133, allocations: 11.98 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.4134, allocations: 0 / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.8e-05/0.4134, allocations: 7.984 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.4134, allocations: 0 / 1.091 GB, free: 13.84 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 7.575e-05/0.4135, allocations: 113.8 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/0.4135, allocations: 4 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002212/0.4138, allocations: 68.78 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.4138, allocations: 7.938 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4138, allocations: 0 / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.4138, allocations: 4 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.414, allocations: 165.5 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.414, allocations: 4.031 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.462e-05/0.414, allocations: 7.938 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.414, allocations: 0 / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.4141, allocations: 7.984 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4141, allocations: 0 / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4141, allocations: 0 / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.4143, allocations: 167.5 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.398e-05/0.4144, allocations: 81.05 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.4144, allocations: 0 / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.081e-05/0.4145, allocations: 4 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.4145, allocations: 3.984 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.4146, allocations: 4 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.569e-05/0.4146, allocations: 79.28 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.4146, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002048/0.4148, allocations: 4 kB / 1.092 GB, free: 13.03 MB / 0.8575 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.0001632/0.415, allocations: 103.8 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002227/0.4152, allocations: 39.89 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4152, allocations: 0 / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.228e-05/0.4153, allocations: 19.98 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.4156, allocations: 9.5 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002977/0.4159, allocations: 105.7 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004015/0.4163, allocations: 0.6768 MB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.25e-05/0.4164, allocations: 0 / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.799e-05/0.4164, allocations: 7.438 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of SimCode: time 3.31e-07/0.4164, allocations: 0 / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of Templates: time 0.002633/0.419, allocations: 448.3 kB / 1.093 GB, free: 11.58 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/jenkins/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