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.001174/0.001174, allocations: 93.06 kB / 19.65 MB, free: 272 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.001125/0.001125, allocations: 165 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 0.9976/0.9976, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.2/2.2, allocations: 429.5 MB / 0.6733 GB, free: 4.02 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.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.553e-06/1.553e-06, allocations: 0 / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.025e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001271/0.001292, allocations: 0.727 MB / 0.8789 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008979/0.002189, allocations: 0.8716 MB / 0.8797 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.595e-05/0.002225, allocations: 1.125 kB / 0.8797 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.297e-05/0.002258, allocations: 8.688 kB / 0.8798 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.441e-05/0.002333, allocations: 6.391 kB / 0.8798 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001421/0.002475, allocations: 27.91 kB / 0.8798 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.567e-05/0.002551, allocations: 46.75 kB / 0.8798 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.554e-05/0.002646, allocations: 5 kB / 0.8798 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.358e-05/0.00273, allocations: 35.91 kB / 0.8799 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.214e-05/0.002782, allocations: 16.5 kB / 0.8799 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.002804, allocations: 4 kB / 0.8799 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.155e-05/0.002816, allocations: 4.719 kB / 0.8799 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.038e-05/0.002836, allocations: 19.86 kB / 0.8799 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.246e-05/0.002859, allocations: 11.44 kB / 0.8799 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.669e-05/0.002955, allocations: 39.81 kB / 0.88 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.002957, allocations: 4 kB / 0.88 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.61e-07/0.002958, allocations: 0 / 0.88 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.002962, allocations: 0 / 0.88 GB, free: 4.477 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.0003926/0.003354, allocations: 376.5 kB / 0.8803 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.003389, allocations: 8.031 kB / 0.8803 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.66e-05/0.003425, allocations: 4.938 kB / 0.8803 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.143e-05/0.003517, allocations: 112.6 kB / 0.8804 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.003537, allocations: 4.969 kB / 0.8805 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.003551, allocations: 5.469 kB / 0.8805 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.003681, allocations: 78.84 kB / 0.8805 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.003692, allocations: 4.5 kB / 0.8805 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.003702, allocations: 0 / 0.8805 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.00371, allocations: 0.9688 kB / 0.8805 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.364e-05/0.003754, allocations: 11.98 kB / 0.8805 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003293/0.004083, allocations: 276.8 kB / 0.8808 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.668e-05/0.00417, allocations: 54.92 kB / 0.8809 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.716e-05/0.004197, allocations: 17.28 kB / 0.8809 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.004213, allocations: 4 kB / 0.8809 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.004233, allocations: 37.39 kB / 0.8809 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.004234, allocations: 1.031 kB / 0.8809 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001551/0.004389, allocations: 61.64 kB / 0.881 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.004415, allocations: 59.33 kB / 0.881 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.633e-05/0.004492, allocations: 166.6 kB / 0.8812 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.004501, allocations: 29.7 kB / 0.8812 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.982e-05/0.004551, allocations: 134.9 kB / 0.8814 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.004566, allocations: 7.906 kB / 0.8814 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.004598, allocations: 31.3 kB / 0.8814 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.004701, allocations: 496.1 kB / 0.8819 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.052e-05/0.004721, allocations: 8 kB / 0.8819 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.84e-05/0.004739, allocations: 7.984 kB / 0.8819 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.943e-05/0.004779, allocations: 23.95 kB / 0.8819 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.004783, allocations: 3.938 kB / 0.8819 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.081e-05/0.004854, allocations: 53.62 kB / 0.882 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.004866, allocations: 12 kB / 0.882 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.004872, allocations: 3.984 kB / 0.882 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.004886, allocations: 0 / 0.882 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.897e-05/0.004965, allocations: 8 kB / 0.882 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.004971, allocations: 0 / 0.882 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.693e-05/0.004998, allocations: 7.938 kB / 0.882 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.005004, allocations: 4 kB / 0.882 GB, free: 2.203 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,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 7.642e-05/0.005081, allocations: 156.5 kB / 0.8821 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.779e-05/0.005098, allocations: 8 kB / 0.8821 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.42e-05/0.005123, allocations: 4 kB / 0.8822 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.005124, allocations: 4 kB / 0.8822 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.005128, allocations: 4 kB / 0.8822 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.005131, allocations: 0 / 0.8822 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.005234, allocations: 132.7 kB / 0.8823 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.005236, allocations: 3.938 kB / 0.8823 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.73e-05/0.005263, allocations: 4 kB / 0.8823 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.005265, allocations: 4 kB / 0.8823 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.005273, allocations: 0 / 0.8823 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.005275, allocations: 4.297 kB / 0.8823 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.005276, allocations: 0 / 0.8823 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.0054, allocations: 203.8 kB / 0.8825 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.548e-06/0.005409, allocations: 11.88 kB / 0.8825 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.005419, allocations: 0 / 0.8825 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.012e-05/0.00546, allocations: 11.98 kB / 0.8825 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.624e-05/0.005516, allocations: 11.98 kB / 0.8825 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.005519, allocations: 0 / 0.8825 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.12e-05/0.00556, allocations: 131.2 kB / 0.8827 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.00556, allocations: 4 kB / 0.8827 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001405/0.005701, allocations: 4 kB / 0.8827 GB, free: 1.449 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 (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 7.206e-05/0.005773, allocations: 107.2 kB / 0.8828 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.516e-05/0.005868, allocations: 27.61 kB / 0.8828 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.005869, allocations: 0 / 0.8828 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.235e-05/0.005902, allocations: 27.67 kB / 0.8828 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.006075, allocations: 7.938 kB / 0.8828 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002618/0.006336, allocations: 130.3 kB / 0.8829 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.262e-05/0.006369, allocations: 55.36 kB / 0.883 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.441e-05/0.006393, allocations: 8.281 kB / 0.883 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.499e-05/0.006428, allocations: 16.48 kB / 0.883 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of SimCode: time 4.11e-07/0.006429, allocations: 0 / 0.883 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of Templates: time 0.002386/0.008815, allocations: 0.9678 MB / 0.884 GB, free: 56 kB / 0.8386 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 -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.719589123968035]