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.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.001337/0.001337, allocations: 73.09 kB / 20.65 MB, free: 3.844 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.00169/0.00169, allocations: 173 kB / 24.06 MB, free: 452 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 1.022/1.022, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.076/2.076, allocations: 429.5 MB / 0.6743 GB, free: 3.891 MB / 0.6355 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.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 1.663e-06/1.663e-06, allocations: 0 / 0.8794 GB, free: 6 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.237e-05/2.404e-05, allocations: 4.984 kB / 0.8794 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001401/0.001425, allocations: 0.7287 MB / 0.8801 GB, free: 5.293 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009205/0.002346, allocations: 0.8725 MB / 0.881 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.892e-05/0.002395, allocations: 1.125 kB / 0.881 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.149e-05/0.002426, allocations: 11.92 kB / 0.881 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.042e-05/0.002516, allocations: 5.797 kB / 0.881 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001477/0.002664, allocations: 20.77 kB / 0.881 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.096e-05/0.002755, allocations: 55.83 kB / 0.8811 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.893e-05/0.002854, allocations: 4.75 kB / 0.8811 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.322e-05/0.002937, allocations: 27.97 kB / 0.8811 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.767e-05/0.002995, allocations: 28.66 kB / 0.8811 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.003014, allocations: 4 kB / 0.8811 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.197e-06/0.003024, allocations: 4.5 kB / 0.8811 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.955e-05/0.003043, allocations: 8.922 kB / 0.8811 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.799e-05/0.003061, allocations: 11.94 kB / 0.8811 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.605e-05/0.003147, allocations: 39.88 kB / 0.8812 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.00315, allocations: 1.094 kB / 0.8812 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.81e-07/0.003151, allocations: 0 / 0.8812 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.003155, allocations: 0 / 0.8812 GB, free: 4.199 MB / 0.8386 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.000368/0.003523, allocations: 381 kB / 0.8815 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.003559, allocations: 12.69 kB / 0.8816 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.9e-05/0.003588, allocations: 4.938 kB / 0.8816 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.205e-05/0.00368, allocations: 109.6 kB / 0.8817 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.003699, allocations: 8.375 kB / 0.8817 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.003708, allocations: 8.312 kB / 0.8817 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.003829, allocations: 68.08 kB / 0.8817 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.003838, allocations: 3.938 kB / 0.8817 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.003846, allocations: 1 kB / 0.8817 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.003851, allocations: 0 / 0.8817 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.04e-05/0.003881, allocations: 13.05 kB / 0.8818 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002666/0.004148, allocations: 256.3 kB / 0.882 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.183e-05/0.00423, allocations: 52.17 kB / 0.8821 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.089e-05/0.004251, allocations: 19.64 kB / 0.8821 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.004263, allocations: 0 / 0.8821 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.004287, allocations: 42.52 kB / 0.8821 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.004288, allocations: 0 / 0.8821 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001398/0.004427, allocations: 58.3 kB / 0.8822 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.004454, allocations: 51.41 kB / 0.8822 GB, free: 3 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.84e-05/0.004523, allocations: 167.5 kB / 0.8824 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.004533, allocations: 29.7 kB / 0.8824 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.445e-05/0.004578, allocations: 130.9 kB / 0.8825 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.004596, allocations: 11.89 kB / 0.8825 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.64e-05/0.004633, allocations: 32.95 kB / 0.8826 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.004745, allocations: 496.1 kB / 0.883 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.766e-05/0.004763, allocations: 4 kB / 0.8831 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.355e-05/0.004776, allocations: 4 kB / 0.8831 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.677e-05/0.004813, allocations: 20.77 kB / 0.8831 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.004815, allocations: 0 / 0.8831 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.607e-05/0.004891, allocations: 59.12 kB / 0.8831 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.004903, allocations: 4 kB / 0.8831 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.004907, allocations: 0 / 0.8831 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.606e-06/0.004915, allocations: 0 / 0.8831 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.758e-05/0.004983, allocations: 23.17 kB / 0.8832 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-06/0.004985, allocations: 0 / 0.8832 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.796e-05/0.005013, allocations: 7.953 kB / 0.8832 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.005018, allocations: 0 / 0.8832 GB, free: 1.98 MB / 0.8386 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 7.383e-05/0.005092, allocations: 164.6 kB / 0.8833 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.187e-05/0.005114, allocations: 7.922 kB / 0.8833 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.252e-05/0.005137, allocations: 8 kB / 0.8833 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.005139, allocations: 0 / 0.8833 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.00514, allocations: 1.281 kB / 0.8833 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.005144, allocations: 0 / 0.8833 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.005253, allocations: 105.2 kB / 0.8834 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.005254, allocations: 0 / 0.8834 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.246e-05/0.005287, allocations: 8 kB / 0.8834 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.005291, allocations: 7.984 kB / 0.8835 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.005297, allocations: 3.938 kB / 0.8835 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.005299, allocations: 3.938 kB / 0.8835 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.0053, allocations: 0 / 0.8835 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.00543, allocations: 199.9 kB / 0.8837 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.115e-06/0.005438, allocations: 7.938 kB / 0.8837 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.00545, allocations: 8.297 kB / 0.8837 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.913e-05/0.005489, allocations: 4 kB / 0.8837 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/0.005532, allocations: 7.984 kB / 0.8837 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.005536, allocations: 8 kB / 0.8837 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.485e-05/0.00558, allocations: 131.2 kB / 0.8838 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005581, allocations: 0 / 0.8838 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001424/0.005723, allocations: 8 kB / 0.8838 GB, free: 1.254 MB / 0.8386 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 9.452e-05/0.005817, allocations: 98.36 kB / 0.8839 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.892e-05/0.005906, allocations: 31.61 kB / 0.8839 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.005908, allocations: 0 / 0.8839 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.871e-05/0.005937, allocations: 19.67 kB / 0.884 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.006119, allocations: 13.2 kB / 0.884 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002374/0.006356, allocations: 134.2 kB / 0.8841 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.959e-05/0.006386, allocations: 55.36 kB / 0.8842 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.895e-05/0.006414, allocations: 7.984 kB / 0.8842 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.858e-05/0.006473, allocations: 78.2 kB / 0.8842 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of SimCode: time 5.71e-07/0.006474, allocations: 7.938 kB / 0.8842 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of Templates: time 0.00247/0.008943, allocations: 1.067 MB / 0.8853 GB, free: 15.7 MB / 0.8542 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 240] 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","",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.482192813884467]