Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01332/0.01332, allocations: 100 kB / 15.73 MB, free: 6.023 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.002706/0.002706, allocations: 187.7 kB / 16.67 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.609/1.609, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.341/3.341, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 63.91 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4155, allocations: 157.4 MB / 1.208 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002991/0.4185, allocations: 0.7069 MB / 1.208 GB, free: 8.938 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001518/0.4201, allocations: 0.8273 MB / 1.209 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.488e-05/0.4202, allocations: 0 / 1.209 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.372e-05/0.4203, allocations: 3.938 kB / 1.209 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.4204, allocations: 11.92 kB / 1.209 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.4207, allocations: 23.97 kB / 1.209 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.4208, allocations: 47.86 kB / 1.209 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.421, allocations: 11.98 kB / 1.209 GB, free: 8 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.4211, allocations: 19.97 kB / 1.209 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.981e-05/0.4212, allocations: 27.86 kB / 1.209 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.474e-05/0.4213, allocations: 7.938 kB / 1.209 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.586e-05/0.4213, allocations: 4 kB / 1.209 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.892e-05/0.4213, allocations: 11.98 kB / 1.209 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.151e-05/0.4214, allocations: 23.86 kB / 1.209 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.4216, allocations: 39.86 kB / 1.209 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 1.029e-05/0.4216, allocations: 7.938 kB / 1.209 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.056e-06/0.4216, allocations: 0 / 1.209 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.4216, allocations: 0 / 1.209 GB, free: 7.859 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007118/0.4223, allocations: 359.4 kB / 1.21 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/0.4224, allocations: 8.625 kB / 1.21 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.586e-05/0.4225, allocations: 8.844 kB / 1.21 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.4227, allocations: 168.4 kB / 1.21 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.4227, allocations: 4.375 kB / 1.21 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.4227, allocations: 4.375 kB / 1.21 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.423, allocations: 73.58 kB / 1.21 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.423, allocations: 3.984 kB / 1.21 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.423, allocations: 0 / 1.21 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.423, allocations: 0 / 1.21 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002264/0.4233, allocations: 59.88 kB / 1.21 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005878/0.4239, allocations: 296.7 kB / 1.21 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/0.4241, allocations: 58.59 kB / 1.21 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.4242, allocations: 32.8 kB / 1.211 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.4242, allocations: 4 kB / 1.211 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.4243, allocations: 42.5 kB / 1.211 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.4243, allocations: 0 / 1.211 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0004749/0.4247, allocations: 101.6 kB / 1.211 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.4248, allocations: 55.39 kB / 1.211 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.906e-05/0.4249, allocations: 109.8 kB / 1.211 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.4249, allocations: 33.69 kB / 1.211 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.685e-05/0.425, allocations: 88.14 kB / 1.211 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/0.425, allocations: 3.906 kB / 1.211 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.378e-05/0.4251, allocations: 21.7 kB / 1.211 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.4253, allocations: 318.8 kB / 1.211 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.4254, allocations: 19.98 kB / 1.211 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.447e-05/0.4255, allocations: 27.91 kB / 1.211 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.4257, allocations: 56.81 kB / 1.211 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4257, allocations: 0 / 1.211 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002589/0.426, allocations: 85.55 kB / 1.211 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.426, allocations: 4 kB / 1.211 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.426, allocations: 4 kB / 1.211 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.426, allocations: 0 / 1.211 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.4262, allocations: 11.98 kB / 1.211 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.4262, allocations: 7.938 kB / 1.211 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.023e-05/0.4263, allocations: 11.98 kB / 1.211 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.4263, allocations: 0 / 1.211 GB, free: 5.594 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: 2 (reaToInt.y,intLesThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001064/0.4264, allocations: 121.7 kB / 1.212 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.4264, allocations: 0 / 1.212 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.502e-05/0.4265, allocations: 11.91 kB / 1.212 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.4265, allocations: 0 / 1.212 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.4265, allocations: 0 / 1.212 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.4265, allocations: 8.312 kB / 1.212 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.4268, allocations: 181.6 kB / 1.212 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4268, allocations: 0 / 1.212 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.676e-05/0.4269, allocations: 11.98 kB / 1.212 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.4269, allocations: 3.938 kB / 1.212 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.4269, allocations: 3.984 kB / 1.212 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.4269, allocations: 3.984 kB / 1.212 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.427, allocations: 0 / 1.212 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003722/0.4273, allocations: 187.3 kB / 1.212 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.571e-05/0.4274, allocations: 85.11 kB / 1.212 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.4274, allocations: 3.938 kB / 1.212 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.4275, allocations: 7.984 kB / 1.212 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.949e-05/0.4277, allocations: 11.98 kB / 1.212 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.4277, allocations: 0 / 1.212 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.594e-05/0.4277, allocations: 87.28 kB / 1.212 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.4278, allocations: 0 / 1.212 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002658/0.428, allocations: 15.94 kB / 1.212 GB, free: 4.762 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: 2 (intLesThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0002435/0.4283, allocations: 99.23 kB / 1.212 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00033/0.4286, allocations: 51.95 kB / 1.212 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.4286, allocations: 0 / 1.212 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.4288, allocations: 35.91 kB / 1.212 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004491/0.4292, allocations: 9.375 kB / 1.212 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006209/0.4299, allocations: 141.4 kB / 1.213 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000386/0.4303, allocations: 0.6807 MB / 1.213 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.359e-05/0.4303, allocations: 4 kB / 1.213 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.827e-05/0.4304, allocations: 19.42 kB / 1.213 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/0.4304, allocations: 0 / 1.213 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of Templates: time 0.004643/0.4351, allocations: 0.9014 MB / 1.214 GB, free: 2.773 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches