Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008653/0.008653, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001461/0.001461, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.477/1.477, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.737/2.737, allocations: 472.6 MB / 0.7452 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 63.91 kB / 1.069 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.187/1.189, allocations: 159.9 MB / 1.226 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002586/1.191, allocations: 0.7793 MB / 1.226 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001329/1.193, allocations: 0.8623 MB / 1.227 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.543e-05/1.193, allocations: 4 kB / 1.227 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.489e-05/1.193, allocations: 3.938 kB / 1.227 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001139/1.193, allocations: 11.81 kB / 1.227 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/1.193, allocations: 47.94 kB / 1.227 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001526/1.194, allocations: 83.83 kB / 1.227 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/1.194, allocations: 19.98 kB / 1.227 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/1.194, allocations: 47.83 kB / 1.227 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/1.194, allocations: 43.83 kB / 1.227 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.358e-05/1.194, allocations: 8 kB / 1.227 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 2.16e-05/1.194, allocations: 12 kB / 1.227 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.502e-05/1.194, allocations: 23.91 kB / 1.227 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.775e-05/1.194, allocations: 31.8 kB / 1.228 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001797/1.194, allocations: 92.16 kB / 1.228 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/1.194, allocations: 0 / 1.228 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.743e-06/1.194, allocations: 0 / 1.228 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.104e-06/1.194, allocations: 0 / 1.228 GB, free: 11.49 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000769/1.195, allocations: 395.1 kB / 1.228 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/1.195, allocations: 16.03 kB / 1.228 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.019e-05/1.195, allocations: 8.891 kB / 1.228 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/1.195, allocations: 180.2 kB / 1.228 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/1.196, allocations: 4.375 kB / 1.228 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/1.196, allocations: 16.25 kB / 1.228 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003379/1.196, allocations: 101.5 kB / 1.228 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/1.196, allocations: 0 / 1.228 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/1.196, allocations: 4 kB / 1.228 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/1.196, allocations: 4 kB / 1.228 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003588/1.196, allocations: 99.16 kB / 1.228 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000562/1.197, allocations: 336.6 kB / 1.229 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006064/1.197, allocations: 122.6 kB / 1.229 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/1.198, allocations: 60.75 kB / 1.229 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/1.198, allocations: 4 kB / 1.229 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/1.198, allocations: 30.56 kB / 1.229 GB, free: 9.977 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/1.198, allocations: 0 / 1.229 GB, free: 9.977 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0006523/1.198, allocations: 193.4 kB / 1.229 GB, free: 9.781 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/1.198, allocations: 51.41 kB / 1.229 GB, free: 9.719 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/1.199, allocations: 129.7 kB / 1.229 GB, free: 9.582 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/1.199, allocations: 29.7 kB / 1.229 GB, free: 9.547 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.641e-05/1.199, allocations: 100 kB / 1.229 GB, free: 9.445 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/1.199, allocations: 19.84 kB / 1.229 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/1.199, allocations: 21.72 kB / 1.229 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001187/1.199, allocations: 318.8 kB / 1.23 GB, free: 9.078 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/1.199, allocations: 43.95 kB / 1.23 GB, free: 9.035 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/1.199, allocations: 43.95 kB / 1.23 GB, free: 8.992 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003583/1.2, allocations: 109.2 kB / 1.23 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.2, allocations: 0 / 1.23 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003958/1.2, allocations: 137.5 kB / 1.23 GB, free: 8.742 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/1.2, allocations: 12 kB / 1.23 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/1.2, allocations: 0 / 1.23 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/1.2, allocations: 0 / 1.23 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/1.2, allocations: 23.97 kB / 1.23 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/1.2, allocations: 3.984 kB / 1.23 GB, free: 8.703 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/1.2, allocations: 19.86 kB / 1.23 GB, free: 8.684 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/1.2, allocations: 4 kB / 1.23 GB, free: 8.68 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.000107/1.201, allocations: 121.8 kB / 1.23 GB, free: 8.551 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/1.201, allocations: 7.953 kB / 1.23 GB, free: 8.543 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004828/1.201, allocations: 149.9 kB / 1.23 GB, free: 8.387 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/1.201, allocations: 0 / 1.23 GB, free: 8.387 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/1.201, allocations: 0 / 1.23 GB, free: 8.387 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/1.201, allocations: 7.875 kB / 1.23 GB, free: 8.379 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/1.201, allocations: 205.6 kB / 1.231 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/1.201, allocations: 0 / 1.231 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/1.201, allocations: 23.97 kB / 1.231 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/1.201, allocations: 0 / 1.231 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/1.202, allocations: 3.938 kB / 1.231 GB, free: 8.102 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/1.202, allocations: 0 / 1.231 GB, free: 8.102 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/1.202, allocations: 0 / 1.231 GB, free: 8.102 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005057/1.202, allocations: 247.3 kB / 1.231 GB, free: 7.844 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.6e-05/1.202, allocations: 85.06 kB / 1.231 GB, free: 7.742 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/1.202, allocations: 0 / 1.231 GB, free: 7.742 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/1.202, allocations: 15.97 kB / 1.231 GB, free: 7.727 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/1.202, allocations: 23.92 kB / 1.231 GB, free: 7.703 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/1.202, allocations: 7.984 kB / 1.231 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.137e-05/1.202, allocations: 95.72 kB / 1.231 GB, free: 7.602 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/1.202, allocations: 4 kB / 1.231 GB, free: 7.598 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002277/1.203, allocations: 12 kB / 1.231 GB, free: 7.586 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001835/1.203, allocations: 107.2 kB / 1.231 GB, free: 7.473 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004579/1.203, allocations: 104 kB / 1.231 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.203, allocations: 4 kB / 1.231 GB, free: 7.367 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002129/1.204, allocations: 59.94 kB / 1.231 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/1.204, allocations: 13.09 kB / 1.231 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005172/1.205, allocations: 193.8 kB / 1.232 GB, free: 7.078 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/1.205, allocations: 0.6885 MB / 1.232 GB, free: 6.363 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.352e-05/1.205, allocations: 12 kB / 1.232 GB, free: 6.352 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.182e-05/1.205, allocations: 19.42 kB / 1.232 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of SimCode: time 8.22e-07/1.205, allocations: 4 kB / 1.232 GB, free: 6.328 MB / 0.9512 GB Notification: Performance of Templates: time 0.004882/1.21, allocations: 1.575 MB / 1.234 GB, free: 4.762 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches