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.001015/0.001015, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001006/0.001006, allocations: 173 kB / 23.49 MB, free: 1.055 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 0.9693/0.9693, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.422/2.422, allocations: 429.5 MB / 0.6736 GB, free: 4.047 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 1.764e-06/1.764e-06, allocations: 0 / 0.8782 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.141e-05/2.317e-05, allocations: 3.375 kB / 0.8782 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001432/0.001455, allocations: 0.7228 MB / 0.8789 GB, free: 5.934 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001008/0.002463, allocations: 0.8798 MB / 0.8798 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.889e-05/0.002512, allocations: 1.156 kB / 0.8798 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.544e-05/0.002547, allocations: 3.938 kB / 0.8798 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.461e-05/0.002642, allocations: 6.172 kB / 0.8798 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001537/0.002796, allocations: 28.36 kB / 0.8798 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.889e-05/0.002884, allocations: 45.53 kB / 0.8798 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.003013, allocations: 11.98 kB / 0.8799 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.003117, allocations: 27.97 kB / 0.8799 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.441e-05/0.003181, allocations: 19.92 kB / 0.8799 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.52e-05/0.003207, allocations: 4 kB / 0.8799 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.428e-05/0.003221, allocations: 4.5 kB / 0.8799 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.62e-05/0.003247, allocations: 17.31 kB / 0.8799 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.628e-05/0.003273, allocations: 11.94 kB / 0.8799 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0008954/0.004169, allocations: 35.88 kB / 0.88 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.004171, allocations: 0.6875 kB / 0.88 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.81e-07/0.004172, allocations: 0 / 0.88 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.004177, allocations: 4.656 kB / 0.88 GB, free: 4.832 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.0005126/0.00469, allocations: 372.5 kB / 0.8803 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.004742, allocations: 12.47 kB / 0.8803 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.757e-05/0.0048, allocations: 14.47 kB / 0.8804 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.00495, allocations: 112.6 kB / 0.8805 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/0.004977, allocations: 384 / 0.8805 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.004992, allocations: 4.375 kB / 0.8805 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.005178, allocations: 68.86 kB / 0.8805 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.005188, allocations: 3.938 kB / 0.8805 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.005202, allocations: 8 kB / 0.8805 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.005212, allocations: 0 / 0.8805 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.033e-05/0.005272, allocations: 11.98 kB / 0.8806 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004619/0.005734, allocations: 286.2 kB / 0.8808 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.005866, allocations: 50.98 kB / 0.8809 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.038e-05/0.005906, allocations: 15.75 kB / 0.8809 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.005924, allocations: 0 / 0.8809 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.005949, allocations: 37.39 kB / 0.8809 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.005951, allocations: 4.656 kB / 0.8809 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0002285/0.006179, allocations: 59.3 kB / 0.881 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.006216, allocations: 55.41 kB / 0.881 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.616e-05/0.006313, allocations: 165.9 kB / 0.8812 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.006327, allocations: 25.7 kB / 0.8812 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.301e-05/0.00639, allocations: 138.9 kB / 0.8814 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.006414, allocations: 9.25 kB / 0.8814 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.382e-05/0.006457, allocations: 23.38 kB / 0.8814 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.006616, allocations: 0.4884 MB / 0.8819 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.949e-05/0.006645, allocations: 8 kB / 0.8819 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.334e-05/0.006669, allocations: 4 kB / 0.8819 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.971e-05/0.006729, allocations: 27.61 kB / 0.8819 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.006733, allocations: 3.938 kB / 0.8819 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001047/0.006837, allocations: 49.69 kB / 0.882 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.006854, allocations: 8 kB / 0.882 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.006861, allocations: 0 / 0.882 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.006877, allocations: 0 / 0.882 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.006984, allocations: 12.31 kB / 0.882 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.006991, allocations: 0 / 0.882 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.094e-05/0.007032, allocations: 19.89 kB / 0.882 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.007041, allocations: 7.984 kB / 0.882 GB, free: 2.559 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 9.741e-05/0.007139, allocations: 160.5 kB / 0.8822 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.007167, allocations: 7.984 kB / 0.8822 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.057e-05/0.007197, allocations: 8 kB / 0.8822 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.0072, allocations: 0 / 0.8822 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.007205, allocations: 0 / 0.8822 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.007211, allocations: 4 kB / 0.8822 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.00737, allocations: 120.6 kB / 0.8823 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.007372, allocations: 3.938 kB / 0.8823 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.936e-05/0.007432, allocations: 15.98 kB / 0.8823 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.007435, allocations: 0 / 0.8823 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.007445, allocations: 4 kB / 0.8823 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.007447, allocations: 0 / 0.8823 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.007448, allocations: 0 / 0.8823 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.007613, allocations: 199.9 kB / 0.8825 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.464e-05/0.007628, allocations: 11.88 kB / 0.8825 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.007643, allocations: 0 / 0.8825 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.392e-05/0.007717, allocations: 7.938 kB / 0.8825 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.884e-05/0.007786, allocations: 15.97 kB / 0.8825 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.922e-06/0.007792, allocations: 4 kB / 0.8825 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.722e-05/0.007849, allocations: 127.2 kB / 0.8827 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9e-08/0.007849, allocations: 0 / 0.8827 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002504/0.008099, allocations: 8 kB / 0.8827 GB, free: 1.809 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 0.0001052/0.008205, allocations: 99.23 kB / 0.8828 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001351/0.00834, allocations: 27.67 kB / 0.8828 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.008341, allocations: 0 / 0.8828 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.532e-05/0.008387, allocations: 23.62 kB / 0.8828 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.008685, allocations: 23.86 kB / 0.8828 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003989/0.009084, allocations: 122.4 kB / 0.883 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.819e-05/0.009142, allocations: 63.34 kB / 0.883 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.83e-05/0.009181, allocations: 4 kB / 0.883 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.986e-05/0.009231, allocations: 16.48 kB / 0.883 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of SimCode: time 8.71e-07/0.009231, allocations: 4 kB / 0.883 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of Templates: time 0.003026/0.01226, allocations: 0.967 MB / 0.884 GB, free: 428 kB / 0.8386 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.90068692015484]