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.01035/0.01035, allocations: 102 kB / 15.73 MB, free: 6.039 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.00193/0.00193, allocations: 194.9 kB / 16.68 MB, free: 5.961 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.486/1.486, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.857/2.857, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 68.11 kB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4304/0.4318, allocations: 157.4 MB / 1.208 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002164/0.434, allocations: 0.6686 MB / 1.208 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.4352, allocations: 0.8001 MB / 1.209 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.16e-05/0.4353, allocations: 0 / 1.209 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.504e-05/0.4353, allocations: 0 / 1.209 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.592e-05/0.4354, allocations: 7.922 kB / 1.209 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001711/0.4356, allocations: 11.98 kB / 1.209 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.657e-05/0.4357, allocations: 23.92 kB / 1.209 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.4358, allocations: 8 kB / 1.209 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.22e-05/0.4359, allocations: 15.92 kB / 1.209 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.084e-05/0.4359, allocations: 4 kB / 1.209 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.4359, allocations: 0 / 1.209 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.014e-05/0.436, allocations: 4 kB / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.958e-05/0.436, allocations: 11.92 kB / 1.209 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.742e-05/0.436, allocations: 7.984 kB / 1.209 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.662e-05/0.4361, allocations: 23.91 kB / 1.209 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.4361, allocations: 0 / 1.209 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4361, allocations: 4 kB / 1.209 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.4361, allocations: 0 / 1.209 GB, free: 8.027 MB / 0.9669 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.0004784/0.4366, allocations: 339.4 kB / 1.21 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.4367, allocations: 8.625 kB / 1.21 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.498e-05/0.4367, allocations: 4.938 kB / 1.21 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.4368, allocations: 168.3 kB / 1.21 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.4369, allocations: 384 / 1.21 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.4369, allocations: 4.375 kB / 1.21 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.4371, allocations: 50.23 kB / 1.21 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.4371, allocations: 4.188 kB / 1.21 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.4371, allocations: 3.938 kB / 1.21 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.4371, allocations: 0 / 1.21 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.4373, allocations: 35.84 kB / 1.21 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003524/0.4377, allocations: 248.8 kB / 1.21 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.4378, allocations: 50.55 kB / 1.21 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.462e-05/0.4379, allocations: 20.84 kB / 1.21 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.4379, allocations: 0 / 1.21 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.4379, allocations: 30.56 kB / 1.21 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.4379, allocations: 0 / 1.21 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003352/0.4383, allocations: 89.58 kB / 1.21 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.4383, allocations: 51.41 kB / 1.21 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.526e-05/0.4384, allocations: 102 kB / 1.211 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.4384, allocations: 25.7 kB / 1.211 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.241e-05/0.4385, allocations: 84.14 kB / 1.211 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.4385, allocations: 3.906 kB / 1.211 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/0.4386, allocations: 13.84 kB / 1.211 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.4387, allocations: 322.8 kB / 1.211 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.838e-05/0.4388, allocations: 11.98 kB / 1.211 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.277e-05/0.4389, allocations: 19.98 kB / 1.211 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.439, allocations: 32.83 kB / 1.211 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.439, allocations: 8.062 kB / 1.211 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001973/0.4392, allocations: 73.53 kB / 1.211 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.4392, allocations: 4 kB / 1.211 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.4393, allocations: 4.047 kB / 1.211 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.4393, allocations: 3.984 kB / 1.211 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.782e-05/0.4394, allocations: 7.984 kB / 1.211 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.4394, allocations: 0 / 1.211 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.612e-05/0.4394, allocations: 7.984 kB / 1.211 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/0.4395, allocations: 4.031 kB / 1.211 GB, free: 6 MB / 0.9669 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.64e-05/0.4396, allocations: 117.8 kB / 1.211 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.164e-05/0.4396, allocations: 0 / 1.211 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002365/0.4398, allocations: 72.72 kB / 1.211 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.4398, allocations: 0 / 1.211 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4398, allocations: 0 / 1.211 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.4398, allocations: 0 / 1.211 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.44, allocations: 165.6 kB / 1.211 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.44, allocations: 0 / 1.211 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.883e-05/0.4401, allocations: 11.98 kB / 1.211 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4401, allocations: 3.938 kB / 1.211 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.4401, allocations: 0 / 1.211 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.4401, allocations: 0 / 1.211 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4401, allocations: 0 / 1.211 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.4404, allocations: 171.4 kB / 1.212 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.981e-05/0.4405, allocations: 77.11 kB / 1.212 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.4405, allocations: 3.938 kB / 1.212 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.633e-05/0.4406, allocations: 7.984 kB / 1.212 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.958e-05/0.4406, allocations: 4 kB / 1.212 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.4406, allocations: 0 / 1.212 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.655e-05/0.4407, allocations: 87.22 kB / 1.212 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4407, allocations: 0 / 1.212 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002369/0.4409, allocations: 11.97 kB / 1.212 GB, free: 5.184 MB / 0.9669 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.0001926/0.4411, allocations: 99.23 kB / 1.212 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002055/0.4413, allocations: 31.97 kB / 1.212 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4413, allocations: 0 / 1.212 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.826e-05/0.4414, allocations: 19.98 kB / 1.212 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.4417, allocations: 16.05 kB / 1.212 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003096/0.442, allocations: 126 kB / 1.212 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.4423, allocations: 0.6729 MB / 1.213 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.021e-05/0.4423, allocations: 0 / 1.213 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.708e-05/0.4423, allocations: 7.438 kB / 1.213 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of SimCode: time 2.21e-07/0.4423, allocations: 0 / 1.213 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of Templates: time 0.002603/0.4449, allocations: 462.9 kB / 1.213 GB, free: 3.703 MB / 0.9669 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/jenkins/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