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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.00135/0.00135, allocations: 100.6 kB / 16.36 MB, free: 6.441 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.001327/0.001327, allocations: 195.3 kB / 17.31 MB, free: 5.812 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.488/1.488, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.617/2.617, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 72.45 kB / 0.8774 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.436/0.4374, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002402/0.4398, allocations: 0.7209 MB / 1.027 GB, free: 1.34 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.4411, allocations: 0.8351 MB / 1.028 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.103e-05/0.4411, allocations: 0 / 1.028 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.474e-05/0.4412, allocations: 3.938 kB / 1.028 GB, free: 500 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.409e-05/0.4413, allocations: 7.922 kB / 1.028 GB, free: 492 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001867/0.4415, allocations: 23.97 kB / 1.028 GB, free: 468 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.4416, allocations: 55.84 kB / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.4418, allocations: 8 kB / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.21e-05/0.4419, allocations: 23.91 kB / 1.028 GB, free: 380 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.46e-05/0.442, allocations: 27.91 kB / 1.028 GB, free: 352 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.442, allocations: 4 kB / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.438e-05/0.442, allocations: 4 kB / 1.028 GB, free: 344 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.841e-05/0.4421, allocations: 11.94 kB / 1.028 GB, free: 332 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.825e-05/0.4421, allocations: 23.86 kB / 1.028 GB, free: 308 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.4422, allocations: 43.84 kB / 1.028 GB, free: 264 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/0.4422, allocations: 4 kB / 1.028 GB, free: 260 kB / 0.795 GB Notification: Performance of FrontEnd: time 2.415e-06/0.4423, allocations: 0 / 1.028 GB, free: 260 kB / 0.795 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.4423, allocations: 0 / 1.028 GB, free: 260 kB / 0.795 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.0006658/0.4429, allocations: 355.4 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.443, allocations: 8.031 kB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.413e-05/0.443, allocations: 8.844 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.4432, allocations: 168.4 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.4432, allocations: 4.375 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.4433, allocations: 384 / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.4435, allocations: 81.66 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.4435, allocations: 0 / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.4435, allocations: 0 / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.4436, allocations: 0 / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002155/0.4438, allocations: 51.94 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005982/0.4444, allocations: 300.7 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.4446, allocations: 70.41 kB / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.4447, allocations: 24.92 kB / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.4448, allocations: 4 kB / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.4448, allocations: 38.55 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/0.4448, allocations: 0 / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004345/0.4453, allocations: 105.6 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.4453, allocations: 51.41 kB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.4454, allocations: 105.8 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.4455, allocations: 33.64 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.206e-05/0.4455, allocations: 92.05 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.4456, allocations: 7.906 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/0.4456, allocations: 17.7 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.4458, allocations: 322.8 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.486e-05/0.4459, allocations: 23.97 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.433e-05/0.446, allocations: 19.98 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.4461, allocations: 52.81 kB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4461, allocations: 0 / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002191/0.4464, allocations: 85.64 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.4464, allocations: 4 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.4464, allocations: 4 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.4464, allocations: 0 / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.4466, allocations: 15.92 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.4466, allocations: 4 kB / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.36e-05/0.4467, allocations: 7.984 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.4467, allocations: 0 / 1.03 GB, free: 14 MB / 0.8106 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.0001139/0.4468, allocations: 122 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.4468, allocations: 7.906 kB / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.472e-05/0.4469, allocations: 19.81 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.4469, allocations: 0 / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4469, allocations: 0 / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.4469, allocations: 0 / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002205/0.4471, allocations: 181.5 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.4471, allocations: 3.984 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.867e-05/0.4472, allocations: 15.98 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.4472, allocations: 0 / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.4473, allocations: 0 / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.4473, allocations: 0 / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4473, allocations: 0 / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003014/0.4476, allocations: 191.3 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.704e-05/0.4476, allocations: 81.11 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.4477, allocations: 0 / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.4478, allocations: 11.98 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.163e-05/0.4479, allocations: 11.92 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.4479, allocations: 8 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.077e-05/0.4479, allocations: 87.64 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.448, allocations: 0 / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002493/0.4482, allocations: 12 kB / 1.031 GB, free: 13.17 MB / 0.8106 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.0001712/0.4484, allocations: 103.2 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00026/0.4487, allocations: 55.89 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4487, allocations: 0 / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.4488, allocations: 31.97 kB / 1.031 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.4491, allocations: 4 kB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004441/0.4495, allocations: 133.6 kB / 1.031 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.4499, allocations: 0.6845 MB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.176e-05/0.45, allocations: 4 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.012e-05/0.4501, allocations: 19.42 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of SimCode: time 4.61e-07/0.4501, allocations: 4 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of Templates: time 0.003611/0.4537, allocations: 0.8774 MB / 1.033 GB, free: 11.19 MB / 0.8106 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 -s cvode -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