Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001255, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009574/0.009574, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.644/1.644, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.979/2.979, allocations: 462.7 MB / 0.7364 GB, free: 268 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004466/0.0004466, allocations: 12.91 kB / 0.9028 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3786, allocations: 159.6 MB / 1.059 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.000765/0.3794, allocations: 319.4 kB / 1.059 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 3.777e-05/0.3794, allocations: 8 kB / 1.059 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.223e-05/0.3794, allocations: 0 / 1.059 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.429e-05/0.3795, allocations: 0 / 1.059 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.85e-05/0.3795, allocations: 0 / 1.059 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.147e-05/0.3795, allocations: 0 / 1.059 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.793e-05/0.3796, allocations: 0 / 1.059 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.725e-05/0.3797, allocations: 8 kB / 1.059 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.266e-05/0.3797, allocations: 0 / 1.059 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.73e-05/0.3797, allocations: 0 / 1.059 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.3797, allocations: 0 / 1.059 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.376e-06/0.3797, allocations: 0 / 1.059 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.257e-05/0.3797, allocations: 0 / 1.059 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.734e-05/0.3798, allocations: 33.62 kB / 1.059 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.155e-05/0.3798, allocations: 7.922 kB / 1.059 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.3798, allocations: 0 / 1.059 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3799, allocations: 4 kB / 1.059 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.3799, allocations: 0 / 1.059 GB, free: 5.051 MB / 0.8106 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.0002688/0.3801, allocations: 316.7 kB / 1.059 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.3802, allocations: 8.094 kB / 1.059 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.358e-05/0.3802, allocations: 8.922 kB / 1.059 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.3804, allocations: 160.4 kB / 1.06 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.3804, allocations: 384 / 1.06 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.645e-06/0.3804, allocations: 384 / 1.06 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.807e-05/0.3805, allocations: 26.27 kB / 1.06 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.3805, allocations: 4.188 kB / 1.06 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.036e-06/0.3805, allocations: 3.938 kB / 1.06 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3805, allocations: 7.938 kB / 1.06 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.498e-05/0.3805, allocations: 0 / 1.06 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003213/0.3809, allocations: 383.5 kB / 1.06 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.136e-05/0.381, allocations: 173.1 kB / 1.06 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.727e-05/0.381, allocations: 80.14 kB / 1.06 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.381, allocations: 79.28 kB / 1.06 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.3811, allocations: 109.9 kB / 1.06 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.242e-06/0.3811, allocations: 0 / 1.06 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 8.207e-05/0.3812, allocations: 37.61 kB / 1.06 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/0.3812, allocations: 126.7 kB / 1.061 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.839e-05/0.3813, allocations: 97.86 kB / 1.061 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.3813, allocations: 29.83 kB / 1.061 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.776e-05/0.3814, allocations: 80.17 kB / 1.061 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-06/0.3814, allocations: 0 / 1.061 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.873e-05/0.3814, allocations: 9.719 kB / 1.061 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.3815, allocations: 314.8 kB / 1.061 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.836e-06/0.3815, allocations: 7.938 kB / 1.061 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.896e-06/0.3815, allocations: 0 / 1.061 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.871e-05/0.3816, allocations: 75.28 kB / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.35e-05/0.3816, allocations: 79.28 kB / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.528e-05/0.3817, allocations: 37.56 kB / 1.061 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.71e-05/0.3817, allocations: 84.53 kB / 1.061 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.04e-05/0.3817, allocations: 75.28 kB / 1.061 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.389e-05/0.3818, allocations: 158.5 kB / 1.062 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.196e-05/0.3818, allocations: 79.28 kB / 1.062 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-05/0.3819, allocations: 154.6 kB / 1.062 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.453e-05/0.382, allocations: 83.22 kB / 1.062 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.382, allocations: 75.28 kB / 1.062 GB, free: 1.914 MB / 0.8106 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.0001354/0.3822, allocations: 268.3 kB / 1.062 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.575e-05/0.3822, allocations: 108.9 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.565e-05/0.3823, allocations: 104.1 kB / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.762e-05/0.3824, allocations: 180.3 kB / 1.063 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.452e-05/0.3825, allocations: 184.2 kB / 1.063 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.987e-05/0.3826, allocations: 180.2 kB / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/0.3828, allocations: 405.4 kB / 1.063 GB, free: 424 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.306e-05/0.3829, allocations: 105 kB / 1.063 GB, free: 312 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.938e-05/0.383, allocations: 109 kB / 1.063 GB, free: 196 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.126e-05/0.383, allocations: 188.2 kB / 1.064 GB, free: 0 / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-05/0.3831, allocations: 176.3 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.989e-05/0.3832, allocations: 184.2 kB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.287e-05/0.3833, allocations: 180.3 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.3835, allocations: 311.7 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.886e-05/0.3836, allocations: 182 kB / 1.065 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.3837, allocations: 184.2 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.416e-05/0.3838, allocations: 109 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.54e-05/0.3839, allocations: 180.2 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.677e-05/0.3839, allocations: 101 kB / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.174e-05/0.384, allocations: 83.28 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.7e-07/0.384, allocations: 0 / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002817/0.3843, allocations: 0 / 1.065 GB, free: 14.25 MB / 0.8262 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.0001796/0.3845, allocations: 170.5 kB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.547e-05/0.3845, allocations: 0 / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3845, allocations: 11.94 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.525e-06/0.3845, allocations: 4.031 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.385, allocations: 0.5263 MB / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002406/0.3852, allocations: 150 kB / 1.066 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.3855, allocations: 0.6731 MB / 1.067 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.032e-05/0.3855, allocations: 0 / 1.067 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.036e-05/0.3856, allocations: 7.438 kB / 1.067 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.3856, allocations: 4 kB / 1.067 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of Templates: time 0.001899/0.3875, allocations: 159.5 kB / 1.067 GB, free: 12.48 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches