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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009166/0.0009166, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009451/0.0009451, allocations: 173 kB / 23.03 MB, free: 1.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.009/1.009, allocations: 177.1 MB / 203.4 MB, free: 5.164 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.145/2.145, allocations: 429.5 MB / 0.6732 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.035e-06/3.035e-06, allocations: 0 / 0.8782 GB, free: 6.266 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.665e-05/2.969e-05, allocations: 9.203 kB / 0.8782 GB, free: 6.258 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001389/0.001419, allocations: 0.7295 MB / 0.8789 GB, free: 5.551 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008877/0.002307, allocations: 0.8717 MB / 0.8797 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.9e-05/0.002346, allocations: 0.5469 kB / 0.8797 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.129e-05/0.002377, allocations: 0 / 0.8797 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.553e-05/0.002463, allocations: 10.72 kB / 0.8798 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001477/0.00261, allocations: 31.84 kB / 0.8798 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.048e-05/0.002691, allocations: 48.91 kB / 0.8798 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.235e-05/0.002783, allocations: 8 kB / 0.8798 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.617e-05/0.002869, allocations: 27.97 kB / 0.8799 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.553e-05/0.002925, allocations: 21 kB / 0.8799 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.002948, allocations: 4 kB / 0.8799 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.059e-05/0.002959, allocations: 4 kB / 0.8799 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.006e-05/0.002979, allocations: 13.11 kB / 0.8799 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.941e-05/0.003008, allocations: 15.94 kB / 0.8799 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.513e-05/0.003103, allocations: 31.88 kB / 0.88 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.003107, allocations: 4.969 kB / 0.88 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.413e-06/0.003108, allocations: 0 / 0.88 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.003113, allocations: 0.6562 kB / 0.88 GB, free: 4.457 MB / 0.8386 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.0004107/0.003524, allocations: 376.5 kB / 0.8803 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.003567, allocations: 12.56 kB / 0.8803 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.892e-05/0.003616, allocations: 6 kB / 0.8803 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.003761, allocations: 116.5 kB / 0.8804 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.003786, allocations: 8.375 kB / 0.8805 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.003798, allocations: 1.125 kB / 0.8805 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.003947, allocations: 76.12 kB / 0.8805 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.003956, allocations: 3.938 kB / 0.8805 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.003965, allocations: 0 / 0.8805 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.003974, allocations: 0 / 0.8805 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.223e-05/0.004016, allocations: 16.75 kB / 0.8806 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/0.004354, allocations: 280.2 kB / 0.8808 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.413e-05/0.004449, allocations: 52.08 kB / 0.8809 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.867e-05/0.004477, allocations: 15.75 kB / 0.8809 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.004495, allocations: 4.812 kB / 0.8809 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.004517, allocations: 37.39 kB / 0.8809 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.004518, allocations: 0.9062 kB / 0.8809 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001678/0.004686, allocations: 61.58 kB / 0.881 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.004715, allocations: 55.06 kB / 0.881 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.521e-05/0.004791, allocations: 165.9 kB / 0.8812 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.004801, allocations: 25.7 kB / 0.8812 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.691e-05/0.004848, allocations: 138.9 kB / 0.8814 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.004865, allocations: 7.906 kB / 0.8814 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.004895, allocations: 23.38 kB / 0.8814 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.005003, allocations: 0.4923 MB / 0.8819 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.394e-05/0.005027, allocations: 4 kB / 0.8819 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.817e-05/0.005045, allocations: 11.98 kB / 0.8819 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.031e-05/0.005085, allocations: 20.34 kB / 0.8819 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.005089, allocations: 3.938 kB / 0.8819 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.398e-05/0.005163, allocations: 54.22 kB / 0.882 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.005176, allocations: 9.531 kB / 0.882 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.005181, allocations: 0 / 0.882 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.005194, allocations: 0 / 0.882 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.38e-05/0.005278, allocations: 11.98 kB / 0.882 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.005284, allocations: 7.938 kB / 0.882 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.75e-05/0.005311, allocations: 3.953 kB / 0.882 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.005318, allocations: 7.984 kB / 0.882 GB, free: 2.184 MB / 0.8386 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.0001677/0.005485, allocations: 160.5 kB / 0.8821 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.553e-05/0.005501, allocations: 4 kB / 0.8821 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.73e-05/0.005528, allocations: 8 kB / 0.8822 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.00553, allocations: 0 / 0.8822 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.005534, allocations: 4 kB / 0.8822 GB, free: 2 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.005537, allocations: 0 / 0.8822 GB, free: 2 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.977e-05/0.005636, allocations: 124.7 kB / 0.8823 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.005638, allocations: 7.938 kB / 0.8823 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.41e-05/0.005672, allocations: 11.92 kB / 0.8823 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.005675, allocations: 4 kB / 0.8823 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.005683, allocations: 0 / 0.8823 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.005683, allocations: 0 / 0.8823 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.005685, allocations: 0 / 0.8823 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.005815, allocations: 204.2 kB / 0.8825 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.206e-05/0.005827, allocations: 15.88 kB / 0.8825 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.005839, allocations: 0 / 0.8825 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.659e-05/0.005875, allocations: 4 kB / 0.8825 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/0.005927, allocations: 19.97 kB / 0.8825 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.005931, allocations: 0 / 0.8825 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.45e-05/0.005965, allocations: 123.2 kB / 0.8827 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005965, allocations: 4 kB / 0.8827 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001394/0.006105, allocations: 8 kB / 0.8827 GB, free: 1.43 MB / 0.8386 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 8.87e-05/0.006193, allocations: 103.2 kB / 0.8828 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001104/0.006304, allocations: 27.67 kB / 0.8828 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.006306, allocations: 0 / 0.8828 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.664e-05/0.006342, allocations: 23.67 kB / 0.8828 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.006543, allocations: 14.12 kB / 0.8828 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003023/0.006845, allocations: 130.3 kB / 0.8829 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.525e-05/0.006881, allocations: 59.34 kB / 0.883 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.756e-05/0.006908, allocations: 4 kB / 0.883 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.441e-05/0.006953, allocations: 20.48 kB / 0.883 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of SimCode: time 8.51e-07/0.006953, allocations: 0 / 0.883 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of Templates: time 0.002651/0.009605, allocations: 1.013 MB / 0.884 GB, free: 15.98 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.435785188339651]