Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_10_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_10_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.001224/0.001224, allocations: 91.3 kB / 15.06 MB, free: 1.098 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.001688/0.001689, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.636/1.636, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.845/2.845, allocations: 437.7 MB / 0.7117 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004338/0.0004341, allocations: 12 kB / 0.8722 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8413/0.8418, allocations: 153.8 MB / 1.022 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001004/0.8429, allocations: 429.3 kB / 1.023 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.8439, allocations: 0.8274 MB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.786e-05/0.844, allocations: 4 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.662e-05/0.844, allocations: 3.938 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.281e-05/0.8441, allocations: 0 / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001373/0.8443, allocations: 15.98 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.704e-05/0.8444, allocations: 43.84 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.8445, allocations: 15.92 kB / 1.024 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.582e-05/0.8445, allocations: 19.98 kB / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.058e-05/0.8446, allocations: 23.84 kB / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.8446, allocations: 4 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.105e-05/0.8447, allocations: 0 / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.532e-05/0.8447, allocations: 4 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.402e-05/0.8447, allocations: 29.7 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.033e-05/0.8448, allocations: 35.91 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.8448, allocations: 0 / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8448, allocations: 0 / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.8448, allocations: 0 / 1.024 GB, free: 14.57 MB / 0.7794 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.0005163/0.8453, allocations: 349.3 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.8454, allocations: 12.56 kB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.8454, allocations: 11.84 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.8456, allocations: 171 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.8456, allocations: 0 / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.8456, allocations: 4 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.8459, allocations: 77.61 kB / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.8459, allocations: 0 / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.8459, allocations: 0 / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.8459, allocations: 0 / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001993/0.8461, allocations: 63.94 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004912/0.8466, allocations: 300.7 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.8468, allocations: 74.5 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.8469, allocations: 32.89 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.847, allocations: 0 / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.847, allocations: 38.55 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.847, allocations: 0 / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004412/0.8475, allocations: 125.7 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.8475, allocations: 51.41 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.605e-05/0.8476, allocations: 109.8 kB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.8476, allocations: 25.7 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.484e-05/0.8477, allocations: 88.05 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.8477, allocations: 19.78 kB / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-06/0.8478, allocations: 4 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.8479, allocations: 314.8 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.508e-05/0.848, allocations: 23.98 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.894e-05/0.8481, allocations: 40 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.256e-05/0.8482, allocations: 27.94 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.8482, allocations: 0 / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002341/0.8485, allocations: 105.5 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.8485, allocations: 8 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.8485, allocations: 0 / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.8485, allocations: 0 / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.8486, allocations: 11.98 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.8486, allocations: 0 / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.125e-05/0.8487, allocations: 11.98 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.8487, allocations: 4 kB / 1.026 GB, free: 12.29 MB / 0.7794 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 (intLesThr.y,reaToInt.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001075/0.8489, allocations: 117.8 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.8489, allocations: 4 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.422e-05/0.8489, allocations: 11.89 kB / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.8489, allocations: 0 / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.8489, allocations: 0 / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.849, allocations: 0 / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.8492, allocations: 173.6 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.8492, allocations: 3.953 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.733e-05/0.8493, allocations: 23.92 kB / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.8493, allocations: 0 / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.8493, allocations: 0 / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.8493, allocations: 0 / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.8493, allocations: 0 / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003084/0.8496, allocations: 195.4 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.524e-05/0.8497, allocations: 81.06 kB / 1.026 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.8497, allocations: 0 / 1.026 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.904e-05/0.8498, allocations: 15.98 kB / 1.026 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.151e-05/0.8499, allocations: 15.92 kB / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.8499, allocations: 0 / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.483e-05/0.8499, allocations: 95.56 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.254e-06/0.85, allocations: 4 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002175/0.8502, allocations: 11.94 kB / 1.027 GB, free: 11.46 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001648/0.8503, allocations: 105.4 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002631/0.8506, allocations: 67.94 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.8506, allocations: 4 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.8507, allocations: 31.98 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.8511, allocations: 11.98 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004043/0.8515, allocations: 140.5 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.8518, allocations: 0.6813 MB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.922e-05/0.8519, allocations: 7.984 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.93e-05/0.8519, allocations: 7.438 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.852, allocations: 0 / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of Templates: time 0.003238/0.8552, allocations: 0.742 MB / 1.028 GB, free: 9.609 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches