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.001505/0.001505, allocations: 106.7 kB / 16.41 MB, free: 6.465 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.001681/0.001681, allocations: 187 kB / 17.34 MB, free: 5.723 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.611/2.611, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 63.91 kB / 1.055 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8314/0.8328, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001829/0.8347, allocations: 0.6979 MB / 1.209 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008947/0.8356, allocations: 0.8428 MB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.629e-05/0.8357, allocations: 0 / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.881e-05/0.8357, allocations: 3.938 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.185e-05/0.8358, allocations: 7.938 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001404/0.8359, allocations: 19.97 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.515e-05/0.836, allocations: 51.89 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.8361, allocations: 8 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.59e-05/0.8362, allocations: 23.92 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.809e-05/0.8363, allocations: 27.89 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.8363, allocations: 4 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.635e-05/0.8363, allocations: 11.94 kB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.857e-05/0.8364, allocations: 4 kB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.878e-05/0.8364, allocations: 23.86 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.965e-05/0.8365, allocations: 51.78 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.8365, allocations: 4 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.315e-06/0.8365, allocations: 4 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.8365, allocations: 0 / 1.21 GB, free: 11.82 MB / 0.9356 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.0005258/0.8371, allocations: 351.2 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.8371, allocations: 8.031 kB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.8372, allocations: 16.84 kB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.8373, allocations: 160.4 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.8373, allocations: 8.375 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.8373, allocations: 4.359 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.8375, allocations: 69.59 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.8376, allocations: 0 / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.8376, allocations: 3.938 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.8376, allocations: 0 / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002036/0.8378, allocations: 55.94 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004172/0.8382, allocations: 294.5 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.8384, allocations: 66.47 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.8385, allocations: 28.92 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.8386, allocations: 8 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.8386, allocations: 34.55 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.8386, allocations: 0 / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.000397/0.839, allocations: 101.6 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.839, allocations: 55.34 kB / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.808e-05/0.8391, allocations: 113.8 kB / 1.211 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.8391, allocations: 29.7 kB / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.37e-05/0.8392, allocations: 92.05 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.8392, allocations: 7.844 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.8393, allocations: 25.64 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.793e-05/0.8394, allocations: 318.8 kB / 1.212 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.8395, allocations: 27.91 kB / 1.212 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.902e-05/0.8396, allocations: 19.98 kB / 1.212 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.8398, allocations: 56.81 kB / 1.212 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.8398, allocations: 0 / 1.212 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002254/0.84, allocations: 85.55 kB / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.84, allocations: 5.875 kB / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.84, allocations: 4 kB / 1.212 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.84, allocations: 0 / 1.212 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.8402, allocations: 19.92 kB / 1.212 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.8402, allocations: 0 / 1.212 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.838e-05/0.8403, allocations: 11.98 kB / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.8403, allocations: 0 / 1.212 GB, free: 9.559 MB / 0.9356 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 7.956e-05/0.8404, allocations: 113.8 kB / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.8404, allocations: 0 / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.803e-05/0.8404, allocations: 16.22 kB / 1.212 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.8404, allocations: 0 / 1.212 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.8404, allocations: 0 / 1.212 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.8404, allocations: 7.984 kB / 1.212 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.8406, allocations: 177.6 kB / 1.212 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.8406, allocations: 0 / 1.212 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.908e-05/0.8407, allocations: 11.98 kB / 1.212 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.8407, allocations: 0 / 1.212 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.8407, allocations: 4 kB / 1.212 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.8407, allocations: 0 / 1.212 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.8407, allocations: 0 / 1.212 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002778/0.841, allocations: 195.3 kB / 1.213 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.496e-05/0.8411, allocations: 85.05 kB / 1.213 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.8411, allocations: 0 / 1.213 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.8412, allocations: 7.984 kB / 1.213 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.824e-05/0.8413, allocations: 11.98 kB / 1.213 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.8413, allocations: 0 / 1.213 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.195e-05/0.8413, allocations: 91.27 kB / 1.213 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8413, allocations: 0 / 1.213 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002213/0.8416, allocations: 15.94 kB / 1.213 GB, free: 8.73 MB / 0.9356 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.0001069/0.8417, allocations: 95.25 kB / 1.213 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002552/0.8419, allocations: 55.95 kB / 1.213 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.842, allocations: 0 / 1.213 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.8421, allocations: 31.91 kB / 1.213 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.8423, allocations: 8 kB / 1.213 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003477/0.8427, allocations: 171 kB / 1.213 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.8429, allocations: 0.6845 MB / 1.214 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.411e-05/0.843, allocations: 15.42 kB / 1.214 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.843, allocations: 0 / 1.214 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of Templates: time 0.002024/0.845, allocations: 0.8006 MB / 1.215 GB, free: 6.809 MB / 0.9356 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/jenkins1/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