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.001044/0.001044, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001803/0.001803, allocations: 177 kB / 23.36 MB, free: 1.129 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 1.045/1.045, allocations: 177.2 MB / 203.8 MB, free: 5.48 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.55/2.55, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.913e-06/1.913e-06, allocations: 0 / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.501e-05/1.692e-05, allocations: 5.969 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001327/0.001344, allocations: 0.7644 MB / 0.8394 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008358/0.00218, allocations: 0.8741 MB / 0.8402 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.659e-05/0.002217, allocations: 0 / 0.8402 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.831e-05/0.002245, allocations: 3.938 kB / 0.8402 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.657e-05/0.002322, allocations: 11.86 kB / 0.8403 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001258/0.002447, allocations: 31.91 kB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.805e-05/0.002515, allocations: 39.92 kB / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.93e-05/0.002595, allocations: 11.97 kB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.214e-05/0.002677, allocations: 31.92 kB / 0.8404 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.808e-05/0.002725, allocations: 15.97 kB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.002744, allocations: 4 kB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.687e-06/0.002753, allocations: 8 kB / 0.8404 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.979e-05/0.002773, allocations: 11.92 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.858e-05/0.002791, allocations: 15.92 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 8.181e-05/0.002873, allocations: 39.83 kB / 0.8405 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.002875, allocations: 0 / 0.8405 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.51e-07/0.002876, allocations: 4 kB / 0.8405 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.377e-06/0.002879, allocations: 0 / 0.8405 GB, free: 12.28 MB / 0.8073 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.000283/0.003162, allocations: 244.9 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.003194, allocations: 12.92 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.704e-05/0.003221, allocations: 8.906 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.999e-05/0.003301, allocations: 109.8 kB / 0.8408 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.003318, allocations: 4.375 kB / 0.8408 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.707e-06/0.003327, allocations: 4.375 kB / 0.8408 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.003437, allocations: 74.84 kB / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.003446, allocations: 7.938 kB / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-06/0.003454, allocations: 4 kB / 0.8409 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.003459, allocations: 0 / 0.8409 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.717e-05/0.003486, allocations: 8 kB / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002306/0.003716, allocations: 172.2 kB / 0.8411 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.286e-05/0.003779, allocations: 34.5 kB / 0.8411 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.962e-05/0.003799, allocations: 12.84 kB / 0.8411 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.003813, allocations: 7.938 kB / 0.8411 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.003839, allocations: 30.56 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.00384, allocations: 4 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001101/0.00395, allocations: 45.69 kB / 0.8412 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.003977, allocations: 55.41 kB / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.266e-05/0.004029, allocations: 118.7 kB / 0.8414 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.004043, allocations: 25.7 kB / 0.8414 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.043e-05/0.004074, allocations: 96.06 kB / 0.8415 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.451e-05/0.004088, allocations: 3.953 kB / 0.8415 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.862e-05/0.004117, allocations: 21.72 kB / 0.8415 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.159e-05/0.004188, allocations: 318.8 kB / 0.8418 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.258e-05/0.004201, allocations: 4 kB / 0.8418 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.148e-05/0.004213, allocations: 8 kB / 0.8418 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.308e-05/0.004246, allocations: 16.84 kB / 0.8419 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.004247, allocations: 3.938 kB / 0.8419 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.303e-05/0.0043, allocations: 45.62 kB / 0.8419 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.004313, allocations: 11.98 kB / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.004317, allocations: 3.938 kB / 0.8419 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.004327, allocations: 0 / 0.8419 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.166e-05/0.004389, allocations: 8 kB / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-06/0.004391, allocations: 0 / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.566e-05/0.004417, allocations: 11.98 kB / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-06/0.004421, allocations: 0 / 0.8419 GB, free: 10.61 MB / 0.8073 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 5.579e-05/0.004477, allocations: 110.2 kB / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.873e-05/0.004496, allocations: 7.938 kB / 0.842 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.807e-05/0.004514, allocations: 11.97 kB / 0.8421 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.004515, allocations: 0 / 0.8421 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.004517, allocations: 4 kB / 0.8421 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.00452, allocations: 0 / 0.8421 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.381e-05/0.004604, allocations: 77.88 kB / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.004605, allocations: 0 / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.941e-05/0.004634, allocations: 12 kB / 0.8421 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.91e-07/0.004635, allocations: 0 / 0.8421 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.004642, allocations: 7.922 kB / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.004644, allocations: 4 kB / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.004645, allocations: 0 / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.919e-05/0.004734, allocations: 139.5 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.266e-06/0.004743, allocations: 7.891 kB / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.878e-06/0.004752, allocations: 7.938 kB / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.934e-05/0.004792, allocations: 7.984 kB / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.004831, allocations: 11.98 kB / 0.8423 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/0.004834, allocations: 0 / 0.8423 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.509e-05/0.004849, allocations: 24.83 kB / 0.8423 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.004849, allocations: 0 / 0.8423 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001207/0.00497, allocations: 4 kB / 0.8424 GB, free: 10.14 MB / 0.8073 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 6.219e-05/0.005032, allocations: 76.42 kB / 0.8424 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.282e-05/0.005095, allocations: 24.78 kB / 0.8424 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.005096, allocations: 0 / 0.8424 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.36e-05/0.00512, allocations: 16.86 kB / 0.8425 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001235/0.005243, allocations: 11.98 kB / 0.8425 GB, free: 10 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002096/0.005453, allocations: 132.4 kB / 0.8426 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.079e-05/0.005484, allocations: 59.34 kB / 0.8427 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.525e-05/0.005509, allocations: 4 kB / 0.8427 GB, free: 9.762 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.458e-05/0.005564, allocations: 63.36 kB / 0.8427 GB, free: 9.699 MB / 0.8073 GB Notification: Performance of SimCode: time 4.6e-07/0.005564, allocations: 0 / 0.8427 GB, free: 9.699 MB / 0.8073 GB Notification: Performance of Templates: time 0.002274/0.007838, allocations: 0.9656 MB / 0.8437 GB, free: 8.742 MB / 0.8073 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 -s gbode -gbm=radauIIA3 -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.523347270209342]