Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007261/0.007261, allocations: 101 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.001466/0.001466, allocations: 188.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.529/1.529, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.154/3.154, allocations: 461.9 MB / 0.7347 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 71.88 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3782, allocations: 157.4 MB / 1.208 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.00189/0.3802, allocations: 0.5322 MB / 1.208 GB, free: 9.105 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 4.301e-05/0.3802, allocations: 3.938 kB / 1.208 GB, free: 9.102 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.197e-05/0.3803, allocations: 4 kB / 1.208 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.062e-05/0.3803, allocations: 4 kB / 1.208 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.524e-05/0.3804, allocations: 0 / 1.208 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.183e-05/0.3804, allocations: 0 / 1.208 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.185e-05/0.3805, allocations: 7.938 kB / 1.208 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.873e-05/0.3805, allocations: 3.984 kB / 1.208 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.503e-05/0.3806, allocations: 4 kB / 1.208 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 1.783e-05/0.3806, allocations: 0 / 1.208 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.3806, allocations: 0 / 1.208 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.288e-06/0.3806, allocations: 0 / 1.208 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.481e-05/0.3806, allocations: 0 / 1.208 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.146e-05/0.3807, allocations: 4 kB / 1.208 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 7.121e-05/0.3807, allocations: 7.922 kB / 1.208 GB, free: 9.066 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3807, allocations: 4 kB / 1.208 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.334e-06/0.3808, allocations: 0 / 1.208 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.3808, allocations: 0 / 1.208 GB, free: 9.062 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003448/0.3811, allocations: 319.6 kB / 1.209 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.3812, allocations: 8.625 kB / 1.209 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.57e-05/0.3812, allocations: 0.9375 kB / 1.209 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.3813, allocations: 164.3 kB / 1.209 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.3814, allocations: 4.312 kB / 1.209 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.3814, allocations: 8.375 kB / 1.209 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.54e-05/0.3815, allocations: 26.27 kB / 1.209 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.3815, allocations: 192 / 1.209 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.3815, allocations: 3.938 kB / 1.209 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.3815, allocations: 0 / 1.209 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.991e-05/0.3815, allocations: 4 kB / 1.209 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000368/0.3819, allocations: 383.4 kB / 1.209 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.382, allocations: 185 kB / 1.209 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.286e-05/0.3821, allocations: 80.14 kB / 1.209 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.3821, allocations: 75.28 kB / 1.21 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/0.3822, allocations: 109.8 kB / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.533e-06/0.3822, allocations: 0 / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 9.463e-05/0.3823, allocations: 33.64 kB / 1.21 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.846e-05/0.3824, allocations: 130.7 kB / 1.21 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.217e-05/0.3825, allocations: 93.86 kB / 1.21 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.3825, allocations: 25.7 kB / 1.21 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.615e-05/0.3825, allocations: 84.14 kB / 1.21 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.3825, allocations: 0 / 1.21 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.993e-05/0.3826, allocations: 9.719 kB / 1.21 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.931e-05/0.3827, allocations: 319 kB / 1.21 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.653e-06/0.3827, allocations: 0 / 1.21 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.138e-06/0.3827, allocations: 0 / 1.21 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.56e-05/0.3827, allocations: 75.28 kB / 1.21 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.794e-05/0.3827, allocations: 79.28 kB / 1.21 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.786e-05/0.3828, allocations: 29.64 kB / 1.21 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.131e-05/0.3829, allocations: 87.22 kB / 1.211 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3e-05/0.3829, allocations: 79.28 kB / 1.211 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.578e-05/0.383, allocations: 158.5 kB / 1.211 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.461e-05/0.383, allocations: 79.22 kB / 1.211 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.822e-05/0.3831, allocations: 158.5 kB / 1.211 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.996e-05/0.3832, allocations: 83.22 kB / 1.211 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.3832, allocations: 75.28 kB / 1.211 GB, free: 5.918 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 (0): * Single equations (assignments): 0 * 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 0.0001111/0.3833, allocations: 268.3 kB / 1.211 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.214e-05/0.3834, allocations: 109 kB / 1.212 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.431e-05/0.3834, allocations: 108 kB / 1.212 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.904e-05/0.3835, allocations: 180.8 kB / 1.212 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.719e-05/0.3836, allocations: 184.2 kB / 1.212 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.341e-05/0.3837, allocations: 180.3 kB / 1.212 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002703/0.384, allocations: 409.2 kB / 1.213 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.481e-05/0.384, allocations: 105.2 kB / 1.213 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.951e-05/0.3841, allocations: 105 kB / 1.213 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.762e-05/0.3842, allocations: 188.2 kB / 1.213 GB, free: 4 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-05/0.3843, allocations: 176.3 kB / 1.213 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.708e-05/0.3844, allocations: 184.3 kB / 1.213 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.056e-05/0.3845, allocations: 188.2 kB / 1.213 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001504/0.3846, allocations: 299.7 kB / 1.214 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.931e-05/0.3847, allocations: 186.1 kB / 1.214 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.604e-05/0.3848, allocations: 180.2 kB / 1.214 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.779e-05/0.3849, allocations: 108.9 kB / 1.214 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.632e-05/0.385, allocations: 180.3 kB / 1.214 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.183e-05/0.385, allocations: 104.9 kB / 1.214 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.443e-05/0.385, allocations: 75.28 kB / 1.215 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2e-07/0.385, allocations: 0 / 1.215 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002812/0.3853, allocations: 4 kB / 1.215 GB, free: 2.25 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 (0): * Single equations (assignments): 0 * 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.0001795/0.3855, allocations: 182.6 kB / 1.215 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 5.911e-05/0.3856, allocations: 4 kB / 1.215 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3856, allocations: 0 / 1.215 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.3856, allocations: 0 / 1.215 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.386, allocations: 459.6 kB / 1.215 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002763/0.3863, allocations: 173.5 kB / 1.215 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.3865, allocations: 0.6729 MB / 1.216 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.058e-05/0.3865, allocations: 0 / 1.216 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.829e-05/0.3865, allocations: 11.38 kB / 1.216 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of SimCode: time 2e-07/0.3866, allocations: 0 / 1.216 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of Templates: time 0.002072/0.3886, allocations: 172.9 kB / 1.216 GB, free: 0.5312 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches