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.01387/0.01387, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.001888/0.001888, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.521/1.521, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.696/2.696, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001821, allocations: 64.44 kB / 0.9509 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4753/0.4771, allocations: 140.4 MB / 1.088 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.001886/0.4791, allocations: 0.6698 MB / 1.089 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.4801, allocations: 0.8083 MB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.713e-05/0.4802, allocations: 0 / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.015e-05/0.4802, allocations: 3.844 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.391e-05/0.4803, allocations: 12 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001705/0.4805, allocations: 11.91 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.176e-05/0.4806, allocations: 19.98 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.4807, allocations: 8 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.763e-05/0.4807, allocations: 11.92 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.871e-05/0.4808, allocations: 8 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.4808, allocations: 0 / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.478e-06/0.4808, allocations: 4 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.203e-05/0.4809, allocations: 11.92 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.836e-05/0.4809, allocations: 7.938 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.934e-05/0.481, allocations: 31.89 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.481, allocations: 0 / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.693e-06/0.481, allocations: 0 / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.481, allocations: 0 / 1.09 GB, free: 15.85 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.0004965/0.4815, allocations: 331.5 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.4816, allocations: 8.031 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.569e-05/0.4816, allocations: 12.84 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.4818, allocations: 164.4 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.4818, allocations: 384 / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.4818, allocations: 8.375 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.482, allocations: 50.23 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.482, allocations: 192 / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.482, allocations: 3.938 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.482, allocations: 3.938 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.4822, allocations: 35.89 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/0.4826, allocations: 249 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.4827, allocations: 42.5 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.73e-05/0.4828, allocations: 16.91 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.4829, allocations: 0 / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.4829, allocations: 34.56 kB / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/0.4829, allocations: 4 kB / 1.09 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003589/0.4833, allocations: 85.52 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.4833, allocations: 51.41 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.024e-05/0.4834, allocations: 105.8 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.4834, allocations: 25.7 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.528e-05/0.4835, allocations: 84.05 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.4835, allocations: 8.125 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-05/0.4836, allocations: 13.72 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.4837, allocations: 314.8 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.581e-05/0.4838, allocations: 15.98 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.673e-05/0.4839, allocations: 15.98 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.484, allocations: 48.81 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.484, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001768/0.4842, allocations: 69.52 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.4842, allocations: 4 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.4842, allocations: 4 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.4843, allocations: 0 / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.269e-05/0.4843, allocations: 7.984 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.4844, allocations: 32 / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.089e-05/0.4844, allocations: 15.98 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.4844, allocations: 0 / 1.091 GB, free: 13.83 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 8.611e-05/0.4845, allocations: 113.8 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/0.4846, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002315/0.4848, allocations: 76.72 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.4848, allocations: 0 / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.4848, allocations: 4.031 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.4848, allocations: 0 / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.4851, allocations: 161.6 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.4851, allocations: 0 / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.057e-05/0.4851, allocations: 15.92 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4852, allocations: 0 / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.4852, allocations: 0 / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4852, allocations: 0 / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.4852, allocations: 0 / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.4854, allocations: 171.4 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.224e-05/0.4855, allocations: 84.95 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.4855, allocations: 0 / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.133e-05/0.4856, allocations: 7.984 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.156e-05/0.4856, allocations: 4 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.4856, allocations: 0 / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001037/0.4857, allocations: 87.31 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4858, allocations: 0 / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002157/0.486, allocations: 4 kB / 1.092 GB, free: 13.01 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.000156/0.4861, allocations: 103.7 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002252/0.4864, allocations: 35.97 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.175e-06/0.4864, allocations: 0 / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.865e-05/0.4865, allocations: 27.98 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.4868, allocations: 7.922 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003165/0.4871, allocations: 105.6 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.4875, allocations: 0.6729 MB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.598e-05/0.4875, allocations: 0 / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.237e-05/0.4875, allocations: 11.44 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of SimCode: time 5.21e-07/0.4875, allocations: 0 / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of Templates: time 0.002705/0.4903, allocations: 437.1 kB / 1.093 GB, free: 11.57 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