Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006919/0.006919, allocations: 104.1 kB / 15.74 MB, free: 5.984 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.001333/0.001333, allocations: 197.8 kB / 16.68 MB, free: 5.91 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.437/1.437, allocations: 222.9 MB / 240.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.322/2.322, allocations: 390.2 MB / 0.6648 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 63.91 kB / 0.9508 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9663/0.9677, allocations: 140.4 MB / 1.088 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001677/0.9694, allocations: 0.5389 MB / 1.088 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 4.052e-05/0.9695, allocations: 8.969 kB / 1.088 GB, free: 5.203 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.9e-05/0.9695, allocations: 0 / 1.088 GB, free: 5.203 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.163e-05/0.9696, allocations: 0 / 1.088 GB, free: 5.203 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.886e-05/0.9696, allocations: 0.875 kB / 1.088 GB, free: 5.203 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.226e-05/0.9697, allocations: 0 / 1.088 GB, free: 5.203 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.825e-05/0.9697, allocations: 6.891 kB / 1.088 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.764e-05/0.9698, allocations: 1.859 kB / 1.088 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.408e-05/0.9698, allocations: 0 / 1.088 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.053e-05/0.9698, allocations: 0.75 kB / 1.088 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.9699, allocations: 0.8438 kB / 1.088 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.338e-06/0.9699, allocations: 0 / 1.088 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.079e-05/0.9699, allocations: 9.734 kB / 1.088 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.108e-05/0.9699, allocations: 0 / 1.088 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 7.064e-05/0.97, allocations: 6.656 kB / 1.088 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.97, allocations: 0 / 1.088 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.503e-06/0.97, allocations: 1.188 kB / 1.088 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.97, allocations: 4 kB / 1.088 GB, free: 5.184 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002444/0.9703, allocations: 310.5 kB / 1.089 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.9703, allocations: 9.375 kB / 1.089 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.06e-05/0.9703, allocations: 2.75 kB / 1.089 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.656e-05/0.9704, allocations: 168.9 kB / 1.089 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.9704, allocations: 1.406 kB / 1.089 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-06/0.9705, allocations: 1.984 kB / 1.089 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.963e-05/0.9705, allocations: 36.28 kB / 1.089 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.9706, allocations: 4 kB / 1.089 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-06/0.9706, allocations: 0 / 1.089 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.9706, allocations: 0.7812 kB / 1.089 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.692e-05/0.9706, allocations: 0.6875 kB / 1.089 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002441/0.9708, allocations: 386.7 kB / 1.089 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.876e-05/0.9709, allocations: 170.8 kB / 1.09 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.728e-05/0.9709, allocations: 85.22 kB / 1.09 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.9709, allocations: 79.22 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.971, allocations: 107.5 kB / 1.09 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.971, allocations: 0 / 1.09 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.551e-05/0.971, allocations: 31.27 kB / 1.09 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.9711, allocations: 128.3 kB / 1.09 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.296e-05/0.9712, allocations: 102.5 kB / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.21e-06/0.9712, allocations: 25.7 kB / 1.09 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.547e-05/0.9712, allocations: 81.75 kB / 1.09 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-06/0.9712, allocations: 0 / 1.09 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.854e-05/0.9712, allocations: 11.89 kB / 1.09 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.487e-05/0.9713, allocations: 315.7 kB / 1.09 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.809e-06/0.9713, allocations: 0 / 1.09 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.106e-06/0.9713, allocations: 4.125 kB / 1.09 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.241e-05/0.9713, allocations: 77.06 kB / 1.091 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/0.9713, allocations: 79.28 kB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.884e-05/0.9714, allocations: 32.72 kB / 1.091 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.9714, allocations: 81.45 kB / 1.091 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.9714, allocations: 76.66 kB / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.127e-05/0.9714, allocations: 155.7 kB / 1.091 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.378e-05/0.9715, allocations: 88.89 kB / 1.091 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.216e-05/0.9715, allocations: 152.5 kB / 1.091 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.994e-05/0.9716, allocations: 79.78 kB / 1.091 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.9716, allocations: 77.86 kB / 1.091 GB, free: 2.117 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 (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.0001302/0.9717, allocations: 266.1 kB / 1.092 GB, free: 17.85 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.55e-05/0.9718, allocations: 102.8 kB / 1.092 GB, free: 17.74 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.219e-05/0.9718, allocations: 113.8 kB / 1.092 GB, free: 17.62 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.907e-05/0.9719, allocations: 178.4 kB / 1.092 GB, free: 17.45 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.407e-05/0.972, allocations: 181.7 kB / 1.092 GB, free: 17.26 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.378e-05/0.972, allocations: 181.9 kB / 1.092 GB, free: 17.08 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002009/0.9722, allocations: 401.7 kB / 1.093 GB, free: 16.63 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.715e-05/0.9723, allocations: 110.8 kB / 1.093 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.669e-05/0.9723, allocations: 106.5 kB / 1.093 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.325e-05/0.9724, allocations: 182 kB / 1.093 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.66e-05/0.9725, allocations: 182.1 kB / 1.093 GB, free: 16.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.257e-05/0.9725, allocations: 177.8 kB / 1.093 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.521e-05/0.9726, allocations: 186.3 kB / 1.094 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.9728, allocations: 320.8 kB / 1.094 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.584e-05/0.9728, allocations: 180.3 kB / 1.094 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.922e-05/0.9729, allocations: 182.5 kB / 1.094 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.22e-05/0.973, allocations: 106.9 kB / 1.094 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.708e-05/0.9731, allocations: 182.2 kB / 1.095 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.353e-05/0.9731, allocations: 106.8 kB / 1.095 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 3.99e-05/0.9732, allocations: 81.62 kB / 1.095 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9732, allocations: 0 / 1.095 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002426/0.9734, allocations: 1.531 kB / 1.095 GB, free: 14.48 MB / 0.8731 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.0001496/0.9736, allocations: 174 kB / 1.095 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 4.298e-05/0.9736, allocations: 10.92 kB / 1.095 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.9736, allocations: 1.125 kB / 1.095 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.9736, allocations: 0 / 1.095 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.974, allocations: 458.1 kB / 1.095 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002127/0.9742, allocations: 153.9 kB / 1.095 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.9744, allocations: 0.6753 MB / 1.096 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.703e-06/0.9745, allocations: 0 / 1.096 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.336e-05/0.9745, allocations: 7.438 kB / 1.096 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of SimCode: time 4.31e-07/0.9745, allocations: 1.281 kB / 1.096 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of Templates: time 0.001944/0.9764, allocations: 168.2 kB / 1.096 GB, free: 12.93 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches