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.001383/0.001383, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001465/0.001465, allocations: 173 kB / 23.02 MB, free: 1.547 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.071/1.071, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.204/2.204, allocations: 429.5 MB / 0.6733 GB, free: 4.035 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 5.68e-06/5.68e-06, allocations: 3.938 kB / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.265e-05/4.833e-05, allocations: 9.688 kB / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001886/0.001934, allocations: 0.7261 MB / 0.8789 GB, free: 5.605 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.002978, allocations: 0.8792 MB / 0.8798 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.834e-05/0.003026, allocations: 1.094 kB / 0.8798 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.738e-05/0.003064, allocations: 0 / 0.8798 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.692e-05/0.003161, allocations: 8.094 kB / 0.8798 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001793/0.00334, allocations: 28.72 kB / 0.8798 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.354e-05/0.003434, allocations: 43.92 kB / 0.8798 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.003553, allocations: 17.06 kB / 0.8799 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.797e-05/0.003651, allocations: 23.92 kB / 0.8799 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.617e-05/0.003718, allocations: 21.06 kB / 0.8799 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.926e-05/0.003747, allocations: 4 kB / 0.8799 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.123e-05/0.003758, allocations: 4 kB / 0.8799 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.616e-05/0.003784, allocations: 20.98 kB / 0.8799 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.844e-05/0.003813, allocations: 7.984 kB / 0.8799 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.00394, allocations: 35.83 kB / 0.88 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.003945, allocations: 1.031 kB / 0.88 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.983e-06/0.003947, allocations: 0 / 0.88 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.003952, allocations: 0 / 0.88 GB, free: 4.508 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.0004929/0.004445, allocations: 381.1 kB / 0.8803 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.004494, allocations: 8.719 kB / 0.8803 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.522e-05/0.00455, allocations: 8.922 kB / 0.8803 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.004673, allocations: 117.5 kB / 0.8805 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.004699, allocations: 4.375 kB / 0.8805 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.004712, allocations: 4.375 kB / 0.8805 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.004887, allocations: 63.75 kB / 0.8805 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.004896, allocations: 5.094 kB / 0.8805 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.004911, allocations: 4 kB / 0.8805 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.004921, allocations: 0 / 0.8805 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.01e-05/0.004971, allocations: 16.86 kB / 0.8806 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004055/0.005377, allocations: 283.6 kB / 0.8808 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.005487, allocations: 52.52 kB / 0.8809 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.331e-05/0.00552, allocations: 15.72 kB / 0.8809 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.005538, allocations: 3.984 kB / 0.8809 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.005564, allocations: 38.27 kB / 0.8809 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.964e-06/0.005566, allocations: 0 / 0.8809 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0002065/0.005773, allocations: 66.45 kB / 0.881 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.005812, allocations: 51.41 kB / 0.881 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.39e-05/0.005906, allocations: 169.5 kB / 0.8812 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.005919, allocations: 25.7 kB / 0.8812 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.968e-05/0.005979, allocations: 134.9 kB / 0.8814 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.006002, allocations: 11.91 kB / 0.8814 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/0.006038, allocations: 23.36 kB / 0.8814 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0004323/0.006471, allocations: 0.4922 MB / 0.8819 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.269e-05/0.006503, allocations: 7.984 kB / 0.8819 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.887e-05/0.006522, allocations: 4 kB / 0.8819 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.52e-05/0.006578, allocations: 23.67 kB / 0.8819 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.006582, allocations: 4.562 kB / 0.8819 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.394e-05/0.006676, allocations: 54.22 kB / 0.882 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.006695, allocations: 6.656 kB / 0.882 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.006701, allocations: 8 kB / 0.882 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.006719, allocations: 0 / 0.882 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.006833, allocations: 7.984 kB / 0.882 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.00684, allocations: 0 / 0.882 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.309e-05/0.006873, allocations: 11.95 kB / 0.882 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.006881, allocations: 4 kB / 0.882 GB, free: 2.234 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 8.64e-05/0.006968, allocations: 160.5 kB / 0.8822 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.098e-05/0.006988, allocations: 4 kB / 0.8822 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.387e-05/0.007022, allocations: 11.98 kB / 0.8822 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.007026, allocations: 4 kB / 0.8822 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.007032, allocations: 0 / 0.8822 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.007035, allocations: 0 / 0.8822 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.007157, allocations: 120.6 kB / 0.8823 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.007159, allocations: 11.88 kB / 0.8823 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.535e-05/0.007205, allocations: 7.984 kB / 0.8823 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.007208, allocations: 0 / 0.8823 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.007217, allocations: 4 kB / 0.8823 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.007218, allocations: 0 / 0.8823 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.00722, allocations: 0 / 0.8823 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.007368, allocations: 199.9 kB / 0.8825 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.645e-05/0.007384, allocations: 19.86 kB / 0.8825 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.007397, allocations: 0 / 0.8825 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.483e-05/0.007442, allocations: 4 kB / 0.8825 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.333e-05/0.007506, allocations: 12.36 kB / 0.8825 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.00751, allocations: 0 / 0.8825 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.842e-05/0.007558, allocations: 131.2 kB / 0.8827 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.007558, allocations: 0 / 0.8827 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001552/0.007713, allocations: 11.94 kB / 0.8827 GB, free: 1.48 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 0.0001412/0.007855, allocations: 99.23 kB / 0.8828 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000135/0.00799, allocations: 35.61 kB / 0.8828 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.007992, allocations: 0 / 0.8828 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.633e-05/0.008028, allocations: 23.67 kB / 0.8828 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.008257, allocations: 17.8 kB / 0.8828 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000404/0.008661, allocations: 126.3 kB / 0.883 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.16e-05/0.008713, allocations: 59.34 kB / 0.883 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.411e-05/0.008747, allocations: 8 kB / 0.883 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.057e-05/0.008797, allocations: 16.5 kB / 0.883 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of SimCode: time 1.684e-06/0.008799, allocations: 0 / 0.883 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of Templates: time 0.00323/0.01203, allocations: 1.017 MB / 0.884 GB, free: 32 kB / 0.8386 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.656710205134004]