Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009613/0.0009613, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0009776/0.0009776, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.9886/0.9886, allocations: 177.1 MB / 204.6 MB, free: 5.336 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.93/1.93, allocations: 377.9 MB / 0.624 GB, free: 8.332 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 0 / 0.76 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.265e-05/2.506e-05, allocations: 5.125 kB / 0.76 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.00169/0.001715, allocations: 0.72 MB / 0.7607 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.002742, allocations: 0.881 MB / 0.7616 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.056e-05/0.002782, allocations: 0 / 0.7616 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.624e-05/0.002828, allocations: 5.297 kB / 0.7616 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.812e-05/0.002917, allocations: 8.812 kB / 0.7616 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001419/0.003058, allocations: 27.84 kB / 0.7616 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.575e-05/0.003144, allocations: 47.02 kB / 0.7617 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.917e-05/0.003223, allocations: 12.88 kB / 0.7617 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.151e-05/0.003315, allocations: 29.7 kB / 0.7617 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.864e-05/0.003373, allocations: 18.28 kB / 0.7617 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.003398, allocations: 4.531 kB / 0.7617 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.032e-05/0.003409, allocations: 5.344 kB / 0.7617 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.232e-05/0.003431, allocations: 9.297 kB / 0.7618 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.608e-05/0.003457, allocations: 13.95 kB / 0.7618 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.003557, allocations: 38.08 kB / 0.7618 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.003559, allocations: 0.6562 kB / 0.7618 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.31e-07/0.00356, allocations: 0 / 0.7618 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.003563, allocations: 2.109 kB / 0.7618 GB, free: 4.801 MB / 0.7136 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.0003232/0.003886, allocations: 244.9 kB / 0.762 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.389e-05/0.00395, allocations: 13 kB / 0.7621 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.923e-05/0.00398, allocations: 4.938 kB / 0.7621 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.146e-05/0.004071, allocations: 117.7 kB / 0.7622 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.00409, allocations: 9.609 kB / 0.7622 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.004105, allocations: 4.375 kB / 0.7622 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.004241, allocations: 68.17 kB / 0.7622 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.004249, allocations: 3.938 kB / 0.7623 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.004258, allocations: 1.312 kB / 0.7623 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.004264, allocations: 0 / 0.7623 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.326e-05/0.004297, allocations: 12.73 kB / 0.7623 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002506/0.004547, allocations: 172.7 kB / 0.7624 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.361e-05/0.004621, allocations: 35.47 kB / 0.7625 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.989e-05/0.004641, allocations: 8.859 kB / 0.7625 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.004654, allocations: 4.969 kB / 0.7625 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.004675, allocations: 34.55 kB / 0.7625 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.004676, allocations: 1.219 kB / 0.7625 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001277/0.004804, allocations: 53.62 kB / 0.7626 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.004835, allocations: 51.41 kB / 0.7626 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.814e-05/0.004893, allocations: 115.4 kB / 0.7627 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.004905, allocations: 26.14 kB / 0.7627 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.983e-05/0.004945, allocations: 92.78 kB / 0.7628 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.004964, allocations: 11.94 kB / 0.7628 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.005064, allocations: 22.45 kB / 0.7629 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.642e-05/0.005141, allocations: 314.8 kB / 0.7632 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.098e-05/0.005162, allocations: 10.08 kB / 0.7632 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.359e-05/0.005175, allocations: 4 kB / 0.7632 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.77e-05/0.005213, allocations: 16.84 kB / 0.7632 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.005215, allocations: 0 / 0.7632 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.515e-05/0.00529, allocations: 54.91 kB / 0.7632 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.005301, allocations: 4 kB / 0.7633 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.005305, allocations: 0 / 0.7633 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.005317, allocations: 0 / 0.7633 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.315e-05/0.005391, allocations: 13.55 kB / 0.7633 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-06/0.005393, allocations: 0 / 0.7633 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.978e-05/0.005423, allocations: 4 kB / 0.7633 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.00543, allocations: 4 kB / 0.7633 GB, free: 3.156 MB / 0.7136 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.74e-05/0.005488, allocations: 113.1 kB / 0.7634 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.005513, allocations: 8.266 kB / 0.7634 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.197e-05/0.005535, allocations: 8 kB / 0.7634 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.005536, allocations: 0 / 0.7634 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.005539, allocations: 7.984 kB / 0.7634 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.005542, allocations: 4 kB / 0.7634 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.005662, allocations: 77.83 kB / 0.7635 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.005663, allocations: 0 / 0.7635 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.046e-05/0.005703, allocations: 18.95 kB / 0.7635 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.005705, allocations: 0 / 0.7635 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.005711, allocations: 3.938 kB / 0.7635 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.005712, allocations: 0 / 0.7635 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.005713, allocations: 0 / 0.7635 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.005816, allocations: 139.5 kB / 0.7636 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.08e-05/0.005827, allocations: 7.938 kB / 0.7636 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.005839, allocations: 7.938 kB / 0.7637 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.471e-05/0.005894, allocations: 1.5 kB / 0.7637 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.005937, allocations: 11.98 kB / 0.7637 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.005942, allocations: 3.984 kB / 0.7637 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.936e-05/0.005961, allocations: 17.16 kB / 0.7637 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.005961, allocations: 5.344 kB / 0.7637 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001817/0.006143, allocations: 4 kB / 0.7637 GB, free: 2.684 MB / 0.7136 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 9.038e-05/0.006233, allocations: 81.64 kB / 0.7638 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.29e-05/0.006306, allocations: 28.84 kB / 0.7638 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.006308, allocations: 0 / 0.7638 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.19e-05/0.00634, allocations: 25.48 kB / 0.7638 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.006504, allocations: 4.625 kB / 0.7638 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002498/0.006754, allocations: 137.1 kB / 0.764 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.948e-05/0.006793, allocations: 56.45 kB / 0.764 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.007e-05/0.006823, allocations: 2.469 kB / 0.764 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.126e-05/0.006884, allocations: 63.36 kB / 0.7641 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of SimCode: time 7.82e-07/0.006885, allocations: 0 / 0.7641 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of Templates: time 0.002845/0.00973, allocations: 0.9565 MB / 0.765 GB, free: 1.324 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.172572592739016]