Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.001414/0.001414, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.001117/0.001117, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9793/0.9793, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.312/2.312, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 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.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.876e-06/2.876e-06, allocations: 0 / 0.8897 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.193e-05/3.481e-05, allocations: 5.125 kB / 0.8898 GB, free: 9.77 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002216/0.002251, allocations: 0.729 MB / 0.8905 GB, free: 9.043 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.003503, allocations: 0.8703 MB / 0.8913 GB, free: 8.16 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.228e-05/0.003556, allocations: 0 / 0.8913 GB, free: 8.16 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.377e-05/0.003589, allocations: 3.938 kB / 0.8913 GB, free: 8.156 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 9.299e-05/0.003682, allocations: 11.92 kB / 0.8913 GB, free: 8.145 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001617/0.003844, allocations: 23.91 kB / 0.8914 GB, free: 8.121 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.003944, allocations: 51.84 kB / 0.8914 GB, free: 8.07 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.004056, allocations: 8 kB / 0.8914 GB, free: 8.062 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.004161, allocations: 27.91 kB / 0.8914 GB, free: 8.035 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.921e-05/0.00423, allocations: 23.91 kB / 0.8915 GB, free: 8.012 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/0.004255, allocations: 4 kB / 0.8915 GB, free: 8.008 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.333e-05/0.004269, allocations: 4 kB / 0.8915 GB, free: 8.004 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.393e-05/0.004293, allocations: 4 kB / 0.8915 GB, free: 8 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.694e-05/0.00433, allocations: 23.91 kB / 0.8915 GB, free: 7.977 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.004447, allocations: 35.89 kB / 0.8915 GB, free: 7.941 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.004451, allocations: 0 / 0.8915 GB, free: 7.941 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.713e-06/0.004452, allocations: 0 / 0.8915 GB, free: 7.941 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.004457, allocations: 0 / 0.8915 GB, free: 7.941 MB / 0.8542 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.0005466/0.005003, allocations: 380.5 kB / 0.8919 GB, free: 7.535 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.859e-05/0.005062, allocations: 8.625 kB / 0.8919 GB, free: 7.527 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.632e-05/0.005108, allocations: 8.938 kB / 0.8919 GB, free: 7.52 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.005229, allocations: 112.6 kB / 0.892 GB, free: 7.383 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.005253, allocations: 4.312 kB / 0.892 GB, free: 7.379 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.005265, allocations: 4.375 kB / 0.892 GB, free: 7.375 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.005449, allocations: 74.91 kB / 0.8921 GB, free: 7.293 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.005458, allocations: 3.938 kB / 0.8921 GB, free: 7.289 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.005468, allocations: 7.938 kB / 0.8921 GB, free: 7.281 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.005475, allocations: 0 / 0.8921 GB, free: 7.281 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.559e-05/0.005521, allocations: 11.98 kB / 0.8921 GB, free: 7.27 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003778/0.005899, allocations: 268.2 kB / 0.8924 GB, free: 6.98 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.006001, allocations: 39.05 kB / 0.8924 GB, free: 6.93 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002462/0.006247, allocations: 15.66 kB / 0.8924 GB, free: 6.91 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.006273, allocations: 8 kB / 0.8924 GB, free: 6.902 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.0063, allocations: 37.39 kB / 0.8925 GB, free: 6.855 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 2.224e-06/0.006302, allocations: 0 / 0.8925 GB, free: 6.855 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 0.0001979/0.0065, allocations: 57.66 kB / 0.8925 GB, free: 6.793 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.006531, allocations: 51.41 kB / 0.8926 GB, free: 6.73 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.006639, allocations: 170 kB / 0.8927 GB, free: 6.547 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.006652, allocations: 25.7 kB / 0.8928 GB, free: 6.516 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.761e-05/0.006709, allocations: 134.8 kB / 0.8929 GB, free: 6.379 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.006734, allocations: 7.953 kB / 0.8929 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.006776, allocations: 27.36 kB / 0.8929 GB, free: 6.336 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.006954, allocations: 0.4884 MB / 0.8934 GB, free: 5.836 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.736e-05/0.006981, allocations: 7.984 kB / 0.8934 GB, free: 5.828 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.79e-05/0.006999, allocations: 4 kB / 0.8934 GB, free: 5.824 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.115e-05/0.00705, allocations: 23.67 kB / 0.8934 GB, free: 5.797 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.007053, allocations: 0 / 0.8934 GB, free: 5.797 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002094/0.007262, allocations: 57.8 kB / 0.8935 GB, free: 5.734 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.007289, allocations: 4 kB / 0.8935 GB, free: 5.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.007296, allocations: 0 / 0.8935 GB, free: 5.73 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.007314, allocations: 4 kB / 0.8935 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.007434, allocations: 8.031 kB / 0.8935 GB, free: 5.719 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.007438, allocations: 4 kB / 0.8935 GB, free: 5.715 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.638e-05/0.007484, allocations: 7.984 kB / 0.8935 GB, free: 5.707 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.00749, allocations: 0 / 0.8935 GB, free: 5.707 MB / 0.8542 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,intLesEquThr.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.228e-05/0.007582, allocations: 160.6 kB / 0.8937 GB, free: 5.539 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.007607, allocations: 7.938 kB / 0.8937 GB, free: 5.531 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.426e-05/0.007652, allocations: 11.98 kB / 0.8937 GB, free: 5.512 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.007654, allocations: 0 / 0.8937 GB, free: 5.512 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.007657, allocations: 3.938 kB / 0.8937 GB, free: 5.508 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.00766, allocations: 0 / 0.8937 GB, free: 5.508 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.007788, allocations: 105.2 kB / 0.8938 GB, free: 5.379 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.00779, allocations: 4 kB / 0.8938 GB, free: 5.375 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.841e-05/0.007838, allocations: 11.94 kB / 0.8938 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.007841, allocations: 0 / 0.8938 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.007851, allocations: 11.92 kB / 0.8938 GB, free: 5.352 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.007852, allocations: 0 / 0.8938 GB, free: 5.352 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.007854, allocations: 0 / 0.8938 GB, free: 5.352 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001579/0.008012, allocations: 195.9 kB / 0.894 GB, free: 5.141 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.683e-05/0.008028, allocations: 7.938 kB / 0.894 GB, free: 5.133 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.00804, allocations: 7.938 kB / 0.894 GB, free: 5.125 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.204e-05/0.008122, allocations: 11.98 kB / 0.894 GB, free: 5.113 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/0.008171, allocations: 15.98 kB / 0.894 GB, free: 5.098 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.008174, allocations: 0 / 0.894 GB, free: 5.098 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.585e-05/0.00822, allocations: 127.2 kB / 0.8942 GB, free: 4.973 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.00822, allocations: 0 / 0.8942 GB, free: 4.973 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001361/0.008356, allocations: 11.95 kB / 0.8942 GB, free: 4.961 MB / 0.8542 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 (intLesEquThr.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.0001074/0.008463, allocations: 99.19 kB / 0.8943 GB, free: 4.855 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.777e-05/0.008541, allocations: 31.66 kB / 0.8943 GB, free: 4.82 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.008542, allocations: 0 / 0.8943 GB, free: 4.82 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.118e-05/0.008574, allocations: 19.67 kB / 0.8943 GB, free: 4.797 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001766/0.00875, allocations: 12 kB / 0.8943 GB, free: 4.785 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002546/0.009005, allocations: 126.3 kB / 0.8945 GB, free: 4.633 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.199e-05/0.009037, allocations: 59.3 kB / 0.8945 GB, free: 4.555 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.702e-05/0.009064, allocations: 4.25 kB / 0.8945 GB, free: 4.551 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.237e-05/0.009126, allocations: 86.19 kB / 0.8946 GB, free: 4.465 MB / 0.8542 GB Notification: Performance of SimCode: time 5.21e-07/0.009127, allocations: 0 / 0.8946 GB, free: 4.465 MB / 0.8542 GB Notification: Performance of Templates: time 0.00234/0.01147, allocations: 1.039 MB / 0.8956 GB, free: 3.434 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.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.227085332386196]