Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.001405/0.001405, allocations: 81.17 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.00163/0.00163, allocations: 169 kB / 23.27 MB, free: 1.223 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.9403/0.9403, allocations: 177.2 MB / 203.7 MB, free: 5.516 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.453/2.453, allocations: 438.1 MB / 0.682 GB, free: 14.17 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.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 0.8898 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.606e-05/2.83e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.742 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002086/0.002115, allocations: 0.7241 MB / 0.8905 GB, free: 9.023 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.003462, allocations: 0.8819 MB / 0.8913 GB, free: 8.129 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.203e-05/0.003514, allocations: 0 / 0.8913 GB, free: 8.129 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.448e-05/0.003549, allocations: 3.938 kB / 0.8913 GB, free: 8.125 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 9.817e-05/0.003647, allocations: 3.938 kB / 0.8913 GB, free: 8.121 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001697/0.003816, allocations: 27.91 kB / 0.8914 GB, free: 8.094 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 9.204e-05/0.003909, allocations: 47.8 kB / 0.8914 GB, free: 8.047 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.004019, allocations: 15.97 kB / 0.8914 GB, free: 8.031 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.004128, allocations: 19.98 kB / 0.8914 GB, free: 8.012 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.192e-05/0.00419, allocations: 19.92 kB / 0.8915 GB, free: 7.992 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.004215, allocations: 8 kB / 0.8915 GB, free: 7.984 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.126e-05/0.004226, allocations: 4 kB / 0.8915 GB, free: 7.98 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.751e-05/0.004254, allocations: 19.97 kB / 0.8915 GB, free: 7.961 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.857e-05/0.004282, allocations: 15.92 kB / 0.8915 GB, free: 7.945 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001/0.004382, allocations: 27.89 kB / 0.8915 GB, free: 7.918 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.004385, allocations: 0 / 0.8915 GB, free: 7.918 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.162e-06/0.004386, allocations: 0 / 0.8915 GB, free: 7.918 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.838e-06/0.00439, allocations: 4 kB / 0.8915 GB, free: 7.914 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.0004207/0.004811, allocations: 376.5 kB / 0.8919 GB, free: 7.512 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.004858, allocations: 8.031 kB / 0.8919 GB, free: 7.504 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/0.004897, allocations: 8.938 kB / 0.8919 GB, free: 7.496 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.005008, allocations: 124.5 kB / 0.892 GB, free: 7.348 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.005028, allocations: 384 / 0.892 GB, free: 7.348 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.878e-06/0.005038, allocations: 4.375 kB / 0.892 GB, free: 7.344 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.005196, allocations: 62.94 kB / 0.8921 GB, free: 7.273 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.005205, allocations: 3.938 kB / 0.8921 GB, free: 7.27 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.005213, allocations: 0 / 0.8921 GB, free: 7.27 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.005222, allocations: 7.938 kB / 0.8921 GB, free: 7.262 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.336e-05/0.005265, allocations: 11.98 kB / 0.8921 GB, free: 7.25 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003651/0.00563, allocations: 268.2 kB / 0.8924 GB, free: 6.961 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.608e-05/0.005727, allocations: 43.03 kB / 0.8924 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.944e-05/0.005756, allocations: 27.69 kB / 0.8924 GB, free: 6.875 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.005774, allocations: 0 / 0.8924 GB, free: 6.875 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.005799, allocations: 33.39 kB / 0.8925 GB, free: 6.832 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.0058, allocations: 0 / 0.8925 GB, free: 6.832 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 0.000174/0.005974, allocations: 57.62 kB / 0.8925 GB, free: 6.77 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.006004, allocations: 55.39 kB / 0.8926 GB, free: 6.703 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.876e-05/0.006093, allocations: 170 kB / 0.8927 GB, free: 6.52 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.006105, allocations: 29.7 kB / 0.8928 GB, free: 6.484 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.592e-05/0.006161, allocations: 134.8 kB / 0.8929 GB, free: 6.348 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.006182, allocations: 7.953 kB / 0.8929 GB, free: 6.34 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.3e-05/0.006225, allocations: 23.36 kB / 0.8929 GB, free: 6.309 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.006367, allocations: 0.4884 MB / 0.8934 GB, free: 5.809 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.445e-05/0.006391, allocations: 0 / 0.8934 GB, free: 5.809 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.028e-05/0.006411, allocations: 7.984 kB / 0.8934 GB, free: 5.801 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.016e-05/0.006462, allocations: 19.69 kB / 0.8934 GB, free: 5.777 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.006465, allocations: 4 kB / 0.8934 GB, free: 5.773 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001027/0.006568, allocations: 53.52 kB / 0.8935 GB, free: 5.715 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.006582, allocations: 12 kB / 0.8935 GB, free: 5.703 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.006587, allocations: 0 / 0.8935 GB, free: 5.703 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.006603, allocations: 3.984 kB / 0.8935 GB, free: 5.699 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.002e-05/0.006693, allocations: 4 kB / 0.8935 GB, free: 5.695 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.006698, allocations: 4 kB / 0.8935 GB, free: 5.691 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.898e-05/0.006737, allocations: 7.984 kB / 0.8935 GB, free: 5.684 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.006744, allocations: 4 kB / 0.8935 GB, free: 5.68 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,intGreThr.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.491e-05/0.006829, allocations: 152.6 kB / 0.8937 GB, free: 5.52 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.006862, allocations: 7.938 kB / 0.8937 GB, free: 5.512 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.444e-05/0.006896, allocations: 8 kB / 0.8937 GB, free: 5.496 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.006898, allocations: 4 kB / 0.8937 GB, free: 5.492 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.0069, allocations: 0 / 0.8937 GB, free: 5.492 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.006904, allocations: 3.938 kB / 0.8937 GB, free: 5.488 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.00705, allocations: 109.2 kB / 0.8938 GB, free: 5.355 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.007053, allocations: 0 / 0.8938 GB, free: 5.355 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.744e-05/0.00711, allocations: 15.92 kB / 0.8938 GB, free: 5.34 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.007113, allocations: 0 / 0.8938 GB, free: 5.34 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.00712, allocations: 3.938 kB / 0.8938 GB, free: 5.336 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.007125, allocations: 4 kB / 0.8938 GB, free: 5.332 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.007126, allocations: 4 kB / 0.8938 GB, free: 5.328 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.007299, allocations: 204.2 kB / 0.894 GB, free: 5.109 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.25e-05/0.007312, allocations: 7.938 kB / 0.894 GB, free: 5.102 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.007324, allocations: 3.984 kB / 0.894 GB, free: 5.098 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.447e-05/0.007389, allocations: 7.984 kB / 0.894 GB, free: 5.09 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.007435, allocations: 11.98 kB / 0.894 GB, free: 5.078 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.007441, allocations: 3.984 kB / 0.894 GB, free: 5.074 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.791e-05/0.007489, allocations: 131.2 kB / 0.8942 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.007489, allocations: 0 / 0.8942 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002264/0.007715, allocations: 7.953 kB / 0.8942 GB, free: 4.938 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 (intGreThr.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.0001189/0.007834, allocations: 107.2 kB / 0.8943 GB, free: 4.824 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.633e-05/0.007931, allocations: 27.66 kB / 0.8943 GB, free: 4.793 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.007933, allocations: 0 / 0.8943 GB, free: 4.793 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.658e-05/0.007969, allocations: 19.69 kB / 0.8943 GB, free: 4.77 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.00822, allocations: 7.984 kB / 0.8943 GB, free: 4.762 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003036/0.008523, allocations: 134.2 kB / 0.8945 GB, free: 4.602 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.201e-05/0.008565, allocations: 55.34 kB / 0.8945 GB, free: 4.527 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.796e-05/0.008603, allocations: 8.25 kB / 0.8945 GB, free: 4.52 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.541e-05/0.008679, allocations: 78.19 kB / 0.8946 GB, free: 4.441 MB / 0.8542 GB Notification: Performance of SimCode: time 8.72e-07/0.00868, allocations: 0 / 0.8946 GB, free: 4.441 MB / 0.8542 GB Notification: Performance of Templates: time 0.003241/0.01192, allocations: 1.045 MB / 0.8956 GB, free: 3.406 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.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.416252676863223]