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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 111.8 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002043/0.002043, allocations: 191.7 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.987/2.987, allocations: 489.3 MB / 0.7687 GB, free: 3.758 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.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 0.00195/0.00195, allocations: 71.88 kB / 1.103 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9551/0.957, allocations: 163.8 MB / 1.263 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001812/0.9589, allocations: 0.7022 MB / 1.263 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009762/0.9599, allocations: 0.8356 MB / 1.264 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.328e-05/0.9599, allocations: 0.875 kB / 1.264 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.396e-05/0.96, allocations: 1.797 kB / 1.264 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.787e-05/0.9601, allocations: 9.875 kB / 1.264 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001495/0.9602, allocations: 29.03 kB / 1.264 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.664e-05/0.9603, allocations: 42.92 kB / 1.264 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.9605, allocations: 17.41 kB / 1.264 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.213e-05/0.9605, allocations: 25.91 kB / 1.264 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.725e-05/0.9606, allocations: 25.31 kB / 1.264 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.984e-05/0.9607, allocations: 4.844 kB / 1.264 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.587e-05/0.9607, allocations: 3.938 kB / 1.264 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.335e-05/0.9607, allocations: 11.97 kB / 1.264 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.596e-05/0.9607, allocations: 13.45 kB / 1.264 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.9609, allocations: 59.11 kB / 1.264 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.9609, allocations: 0.9062 kB / 1.264 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9609, allocations: 0 / 1.264 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.939e-06/0.9609, allocations: 0 / 1.264 GB, free: 6.777 MB / 0.9981 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.000469/0.9614, allocations: 356.8 kB / 1.265 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.9614, allocations: 13.81 kB / 1.265 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.346e-05/0.9615, allocations: 7.359 kB / 1.265 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.887e-05/0.9616, allocations: 168.5 kB / 1.265 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.9616, allocations: 5.984 kB / 1.265 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.9616, allocations: 3.562 kB / 1.265 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.9618, allocations: 67.84 kB / 1.265 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/0.9618, allocations: 0.7812 kB / 1.265 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.9619, allocations: 4.906 kB / 1.265 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.9619, allocations: 0.5625 kB / 1.265 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002316/0.9621, allocations: 52.14 kB / 1.265 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/0.9625, allocations: 295.7 kB / 1.265 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.9627, allocations: 65.7 kB / 1.265 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.9628, allocations: 29.53 kB / 1.265 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.9628, allocations: 0.8438 kB / 1.265 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.9629, allocations: 32.23 kB / 1.265 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.914e-06/0.9629, allocations: 0 / 1.265 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0004288/0.9633, allocations: 109.2 kB / 1.265 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.9633, allocations: 56.94 kB / 1.266 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.87e-05/0.9634, allocations: 110.4 kB / 1.266 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.777e-06/0.9634, allocations: 26.48 kB / 1.266 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.035e-05/0.9635, allocations: 87.34 kB / 1.266 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.9635, allocations: 10.17 kB / 1.266 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.9635, allocations: 19.8 kB / 1.266 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.589e-05/0.9636, allocations: 322 kB / 1.266 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.9637, allocations: 30.34 kB / 1.266 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.9638, allocations: 23.61 kB / 1.266 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/0.964, allocations: 52.81 kB / 1.266 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.964, allocations: 0.875 kB / 1.266 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002399/0.9643, allocations: 87.61 kB / 1.266 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.9643, allocations: 10 kB / 1.266 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.9643, allocations: 0 / 1.266 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.9643, allocations: 0.9062 kB / 1.266 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.9644, allocations: 12.02 kB / 1.266 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.9645, allocations: 0 / 1.266 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.613e-05/0.9645, allocations: 8 kB / 1.266 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.9645, allocations: 2.203 kB / 1.266 GB, free: 4.984 MB / 0.9981 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 5.24e-05/0.9646, allocations: 116.9 kB / 1.266 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.9646, allocations: 10 kB / 1.266 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.23e-05/0.9647, allocations: 13.52 kB / 1.266 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.9647, allocations: 1.703 kB / 1.266 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.9647, allocations: 3.984 kB / 1.266 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.9647, allocations: 0.8125 kB / 1.266 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.9648, allocations: 178.7 kB / 1.267 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.9648, allocations: 0 / 1.267 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.033e-05/0.9649, allocations: 15.66 kB / 1.267 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.9649, allocations: 1.453 kB / 1.267 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.965, allocations: 1.641 kB / 1.267 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.965, allocations: 0.9062 kB / 1.267 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.965, allocations: 4 kB / 1.267 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002634/0.9652, allocations: 179.8 kB / 1.267 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.316e-05/0.9653, allocations: 82.75 kB / 1.267 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.9653, allocations: 1.359 kB / 1.267 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.9654, allocations: 8.188 kB / 1.267 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/0.9655, allocations: 15.22 kB / 1.267 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.9655, allocations: 5.781 kB / 1.267 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.431e-05/0.9655, allocations: 91.17 kB / 1.267 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9655, allocations: 0 / 1.267 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002209/0.9658, allocations: 11.44 kB / 1.267 GB, free: 4.281 MB / 0.9981 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.0001299/0.9659, allocations: 97.77 kB / 1.267 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000269/0.9662, allocations: 56.11 kB / 1.267 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.9662, allocations: 8.812 kB / 1.267 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.9663, allocations: 32.56 kB / 1.267 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.9666, allocations: 7.5 kB / 1.267 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003105/0.9669, allocations: 158.6 kB / 1.267 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.967, allocations: 0.6813 MB / 1.268 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.43e-05/0.9671, allocations: 12.5 kB / 1.268 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/0.9671, allocations: 4 kB / 1.268 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of Templates: time 0.002499/0.9696, allocations: 0.8142 MB / 1.269 GB, free: 3.254 MB / 0.9981 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.132831102004275]