Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001632/0.001632, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.001842/0.001842, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.446/1.446, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.66/2.66, allocations: 443.5 MB / 0.7293 GB, free: 14.5 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 67.89 kB / 1.057 GB, free: 1.926 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3371, allocations: 160.7 MB / 1.214 GB, free: 0.8984 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002297/0.3394, allocations: 0.7183 MB / 1.215 GB, free: 176 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.3407, allocations: 0.8429 MB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.701e-05/0.3408, allocations: 0 / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.307e-05/0.3408, allocations: 3.938 kB / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.786e-05/0.3409, allocations: 3.938 kB / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.3411, allocations: 35.89 kB / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.3412, allocations: 39.91 kB / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.3414, allocations: 8 kB / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.3415, allocations: 23.92 kB / 1.216 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.29e-05/0.3416, allocations: 27.89 kB / 1.216 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.302e-05/0.3416, allocations: 4 kB / 1.216 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.616e-05/0.3416, allocations: 4 kB / 1.216 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.015e-05/0.3416, allocations: 11.94 kB / 1.216 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.453e-05/0.3417, allocations: 15.92 kB / 1.216 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.3419, allocations: 55.72 kB / 1.216 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.3419, allocations: 4 kB / 1.216 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.385e-06/0.3419, allocations: 0 / 1.216 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.3419, allocations: 7.938 kB / 1.216 GB, free: 15.07 MB / 0.9669 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.0007035/0.3426, allocations: 347.3 kB / 1.216 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.3426, allocations: 16.02 kB / 1.216 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.558e-05/0.3427, allocations: 4.891 kB / 1.216 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.3429, allocations: 176.3 kB / 1.216 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.3429, allocations: 384 / 1.216 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.3429, allocations: 4.375 kB / 1.216 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002462/0.3432, allocations: 69.59 kB / 1.216 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.3432, allocations: 0 / 1.216 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.3432, allocations: 4 kB / 1.216 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3432, allocations: 0 / 1.216 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002278/0.3434, allocations: 55.94 kB / 1.216 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005665/0.344, allocations: 292.7 kB / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002329/0.3442, allocations: 58.55 kB / 1.217 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.3443, allocations: 32.91 kB / 1.217 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.3444, allocations: 0 / 1.217 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.3444, allocations: 34.56 kB / 1.217 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.3444, allocations: 0 / 1.217 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0004571/0.3449, allocations: 113.8 kB / 1.217 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.3449, allocations: 51.41 kB / 1.217 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.345, allocations: 105.8 kB / 1.217 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.345, allocations: 25.7 kB / 1.217 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.26e-05/0.3451, allocations: 96.08 kB / 1.217 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.3451, allocations: 3.953 kB / 1.217 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.29e-05/0.3452, allocations: 21.72 kB / 1.217 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.3453, allocations: 318.8 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.3454, allocations: 23.98 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.3455, allocations: 31.95 kB / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/0.3457, allocations: 52.75 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3457, allocations: 0 / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002587/0.346, allocations: 93.53 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.346, allocations: 6.031 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.346, allocations: 4 kB / 1.218 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.346, allocations: 0 / 1.218 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.3462, allocations: 11.98 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.3462, allocations: 4 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.669e-05/0.3462, allocations: 15.92 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.3463, allocations: 4 kB / 1.218 GB, free: 12.82 MB / 0.9669 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 0.0001031/0.3464, allocations: 113.8 kB / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.3464, allocations: 0 / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.294e-05/0.3464, allocations: 7.906 kB / 1.218 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3464, allocations: 4 kB / 1.218 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.3464, allocations: 3.938 kB / 1.218 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3464, allocations: 0 / 1.218 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.3467, allocations: 173.6 kB / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3467, allocations: 0 / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.324e-05/0.3467, allocations: 19.92 kB / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.3468, allocations: 4 kB / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.3468, allocations: 4 kB / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3468, allocations: 0 / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3468, allocations: 0 / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003098/0.3471, allocations: 183.4 kB / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.096e-05/0.3471, allocations: 81.09 kB / 1.218 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.3471, allocations: 8 kB / 1.218 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.3473, allocations: 4 kB / 1.218 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.544e-05/0.3473, allocations: 11.98 kB / 1.218 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.3473, allocations: 0 / 1.218 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.886e-05/0.3474, allocations: 91.56 kB / 1.218 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3474, allocations: 4 kB / 1.218 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002302/0.3477, allocations: 11.89 kB / 1.219 GB, free: 12 MB / 0.9669 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.000145/0.3478, allocations: 103.2 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002897/0.3481, allocations: 59.88 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3481, allocations: 0 / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.3482, allocations: 32.25 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.3485, allocations: 3.938 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004292/0.349, allocations: 159.2 kB / 1.219 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.3493, allocations: 0.6923 MB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.661e-05/0.3493, allocations: 11.44 kB / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of SimCode: time 4.21e-07/0.3493, allocations: 0 / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of Templates: time 0.002622/0.3519, allocations: 0.8167 MB / 1.22 GB, free: 10.07 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.22105855611153]