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.001538/0.001538, allocations: 104.6 kB / 16.35 MB, free: 5.824 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.001591/0.001591, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.51/2.51, allocations: 437.1 MB / 0.7112 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.001371, allocations: 63.16 kB / 0.8707 GB, free: 1.406 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3504, allocations: 151.6 MB / 1.019 GB, free: 9.809 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002516/0.353, allocations: 0.7169 MB / 1.019 GB, free: 9.086 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.3541, allocations: 0.839 MB / 1.02 GB, free: 8.234 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.228e-05/0.3542, allocations: 0 / 1.02 GB, free: 8.234 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.057e-05/0.3542, allocations: 3.938 kB / 1.02 GB, free: 8.23 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.398e-05/0.3543, allocations: 3.938 kB / 1.02 GB, free: 8.227 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.3545, allocations: 27.95 kB / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.3546, allocations: 47.84 kB / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.3548, allocations: 20 kB / 1.02 GB, free: 8.133 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.742e-05/0.3549, allocations: 19.92 kB / 1.02 GB, free: 8.113 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.75e-05/0.355, allocations: 27.89 kB / 1.02 GB, free: 8.086 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.184e-05/0.355, allocations: 4 kB / 1.02 GB, free: 8.082 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.725e-05/0.355, allocations: 4 kB / 1.02 GB, free: 8.078 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.354e-05/0.3551, allocations: 8 kB / 1.02 GB, free: 8.07 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.808e-05/0.3551, allocations: 19.86 kB / 1.02 GB, free: 8.051 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.3552, allocations: 47.84 kB / 1.021 GB, free: 8.004 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.3552, allocations: 0 / 1.021 GB, free: 8.004 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.334e-06/0.3552, allocations: 7.938 kB / 1.021 GB, free: 7.996 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.3553, allocations: 0 / 1.021 GB, free: 7.996 MB / 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.0006179/0.3559, allocations: 359.3 kB / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.3559, allocations: 12.03 kB / 1.021 GB, free: 7.586 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.356, allocations: 0.9375 kB / 1.021 GB, free: 7.586 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.3562, allocations: 168.3 kB / 1.021 GB, free: 7.383 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.3562, allocations: 384 / 1.021 GB, free: 7.383 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.3562, allocations: 4.375 kB / 1.021 GB, free: 7.379 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.3564, allocations: 69.78 kB / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.3565, allocations: 0 / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.3565, allocations: 8 kB / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.3565, allocations: 3.938 kB / 1.021 GB, free: 7.293 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002038/0.3567, allocations: 55.88 kB / 1.021 GB, free: 7.238 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005012/0.3572, allocations: 292.7 kB / 1.021 GB, free: 6.902 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.3574, allocations: 70.56 kB / 1.022 GB, free: 6.824 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.75e-05/0.3575, allocations: 24.89 kB / 1.022 GB, free: 6.797 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.3576, allocations: 0 / 1.022 GB, free: 6.797 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.3576, allocations: 38.48 kB / 1.022 GB, free: 6.75 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.3576, allocations: 0 / 1.022 GB, free: 6.75 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0004159/0.358, allocations: 113.6 kB / 1.022 GB, free: 6.633 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.3581, allocations: 51.41 kB / 1.022 GB, free: 6.57 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.3582, allocations: 109.8 kB / 1.022 GB, free: 6.453 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.3582, allocations: 25.7 kB / 1.022 GB, free: 6.422 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.623e-05/0.3583, allocations: 84.14 kB / 1.022 GB, free: 6.336 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.3583, allocations: 15.81 kB / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.3583, allocations: 21.7 kB / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3585, allocations: 318.8 kB / 1.022 GB, free: 5.973 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.3586, allocations: 23.97 kB / 1.022 GB, free: 5.949 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.562e-05/0.3587, allocations: 19.98 kB / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.3589, allocations: 56.75 kB / 1.022 GB, free: 5.871 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3589, allocations: 0 / 1.022 GB, free: 5.871 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002273/0.3591, allocations: 89.92 kB / 1.022 GB, free: 5.777 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.3592, allocations: 4 kB / 1.022 GB, free: 5.773 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.3592, allocations: 0 / 1.022 GB, free: 5.773 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.3592, allocations: 0 / 1.022 GB, free: 5.773 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.3594, allocations: 12.03 kB / 1.022 GB, free: 5.762 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.3594, allocations: 0 / 1.022 GB, free: 5.762 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.443e-05/0.3595, allocations: 15.97 kB / 1.023 GB, free: 5.746 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.3595, allocations: 4 kB / 1.023 GB, free: 5.742 MB / 0.795 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 8.942e-05/0.3596, allocations: 121.7 kB / 1.023 GB, free: 5.613 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.3596, allocations: 7.906 kB / 1.023 GB, free: 5.605 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.047e-05/0.3596, allocations: 7.891 kB / 1.023 GB, free: 5.594 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3597, allocations: 0 / 1.023 GB, free: 5.594 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.3597, allocations: 4 kB / 1.023 GB, free: 5.59 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3597, allocations: 3.938 kB / 1.023 GB, free: 5.586 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/0.3599, allocations: 177.5 kB / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.3599, allocations: 3.984 kB / 1.023 GB, free: 5.359 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.37e-05/0.36, allocations: 11.98 kB / 1.023 GB, free: 5.348 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.36, allocations: 4 kB / 1.023 GB, free: 5.344 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.36, allocations: 4 kB / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.36, allocations: 0 / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.36, allocations: 0 / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002787/0.3603, allocations: 179.4 kB / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.286e-05/0.3603, allocations: 81.02 kB / 1.023 GB, free: 5.051 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.3604, allocations: 4 kB / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.3605, allocations: 15.92 kB / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.292e-05/0.3605, allocations: 11.98 kB / 1.023 GB, free: 5.02 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.3606, allocations: 0 / 1.023 GB, free: 5.02 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.721e-05/0.3606, allocations: 87.27 kB / 1.023 GB, free: 4.934 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3606, allocations: 4 kB / 1.023 GB, free: 4.93 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002137/0.3608, allocations: 4 kB / 1.023 GB, free: 4.926 MB / 0.795 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.0001426/0.361, allocations: 111.1 kB / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002423/0.3612, allocations: 51.95 kB / 1.023 GB, free: 4.754 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3612, allocations: 0 / 1.023 GB, free: 4.754 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.3613, allocations: 35.91 kB / 1.023 GB, free: 4.719 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.3616, allocations: 8 kB / 1.023 GB, free: 4.711 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003686/0.362, allocations: 135.2 kB / 1.024 GB, free: 4.555 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.3623, allocations: 0.6846 MB / 1.024 GB, free: 3.844 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.977e-05/0.3623, allocations: 4 kB / 1.024 GB, free: 3.84 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.489e-05/0.3624, allocations: 19.42 kB / 1.024 GB, free: 3.82 MB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.3624, allocations: 0 / 1.024 GB, free: 3.82 MB / 0.795 GB Notification: Performance of Templates: time 0.003207/0.3656, allocations: 0.8892 MB / 1.025 GB, free: 2.941 MB / 0.795 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 -s cvode -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/jenkins1/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