Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.001551/0.001551, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001975/0.001975, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.124/1.124, allocations: 177.1 MB / 203.8 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.31/2.31, allocations: 429.5 MB / 0.6736 GB, free: 4.047 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.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.717e-06/3.717e-06, allocations: 0 / 0.8782 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.607e-05/3.978e-05, allocations: 5.266 kB / 0.8782 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002239/0.002279, allocations: 0.7183 MB / 0.8789 GB, free: 5.934 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.003511, allocations: 0.8773 MB / 0.8798 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.956e-05/0.00356, allocations: 0.6562 kB / 0.8798 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.156e-05/0.003592, allocations: 4 kB / 0.8798 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.385e-05/0.003686, allocations: 5.469 kB / 0.8798 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.003868, allocations: 39.17 kB / 0.8798 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.003981, allocations: 43.86 kB / 0.8798 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.004102, allocations: 11.98 kB / 0.8799 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.004205, allocations: 23.97 kB / 0.8799 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.183e-05/0.004277, allocations: 23.91 kB / 0.8799 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.816e-05/0.004305, allocations: 4 kB / 0.8799 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.224e-05/0.004317, allocations: 4 kB / 0.8799 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.229e-05/0.004339, allocations: 8 kB / 0.8799 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.562e-05/0.004375, allocations: 19.91 kB / 0.8799 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.004487, allocations: 24.84 kB / 0.88 GB, free: 4.844 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.004491, allocations: 4 kB / 0.88 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.12e-07/0.004492, allocations: 1.094 kB / 0.88 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.004497, allocations: 3.938 kB / 0.88 GB, free: 4.836 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.0005182/0.005015, allocations: 376.5 kB / 0.8803 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.005064, allocations: 13.16 kB / 0.8803 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.467e-05/0.005118, allocations: 4.938 kB / 0.8803 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.005257, allocations: 128.5 kB / 0.8805 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.005282, allocations: 1.406 kB / 0.8805 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.005296, allocations: 4.375 kB / 0.8805 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.005483, allocations: 63.62 kB / 0.8805 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.005495, allocations: 3.938 kB / 0.8805 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.005507, allocations: 0.7188 kB / 0.8805 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.005518, allocations: 0 / 0.8805 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.003e-05/0.005589, allocations: 27.41 kB / 0.8806 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004472/0.006036, allocations: 275.7 kB / 0.8808 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.006171, allocations: 46.98 kB / 0.8809 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.474e-05/0.006215, allocations: 19.72 kB / 0.8809 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.006233, allocations: 0 / 0.8809 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.006262, allocations: 33.39 kB / 0.8809 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.006264, allocations: 0 / 0.8809 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0002382/0.006502, allocations: 66.2 kB / 0.881 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.006542, allocations: 52.5 kB / 0.881 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.00666, allocations: 169.9 kB / 0.8812 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.006677, allocations: 29.7 kB / 0.8812 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.816e-05/0.006745, allocations: 131.4 kB / 0.8814 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.868e-05/0.006774, allocations: 21.5 kB / 0.8814 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.006818, allocations: 23.36 kB / 0.8814 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.006984, allocations: 496.1 kB / 0.8819 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.08e-05/0.007015, allocations: 7.984 kB / 0.8819 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.362e-05/0.007038, allocations: 8 kB / 0.8819 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.831e-05/0.007107, allocations: 31.61 kB / 0.8819 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.00711, allocations: 3.938 kB / 0.8819 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001066/0.007217, allocations: 49.97 kB / 0.882 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.007235, allocations: 6.5 kB / 0.882 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.00724, allocations: 0 / 0.882 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.007257, allocations: 7.969 kB / 0.882 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.007362, allocations: 11.98 kB / 0.882 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.007367, allocations: 0 / 0.882 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.237e-05/0.00741, allocations: 7.953 kB / 0.882 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.007418, allocations: 8 kB / 0.882 GB, free: 2.555 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,intGreThr.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 0.0001005/0.007518, allocations: 160.5 kB / 0.8822 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.007545, allocations: 0 / 0.8822 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.513e-05/0.007581, allocations: 15.98 kB / 0.8822 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.007583, allocations: 0 / 0.8822 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.007587, allocations: 0 / 0.8822 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.007591, allocations: 3.938 kB / 0.8822 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.007746, allocations: 120.6 kB / 0.8823 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.007749, allocations: 3.938 kB / 0.8823 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.107e-05/0.0078, allocations: 15.98 kB / 0.8823 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.007802, allocations: 4 kB / 0.8823 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.007811, allocations: 0 / 0.8823 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.007812, allocations: 0 / 0.8823 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.007813, allocations: 0 / 0.8823 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.007989, allocations: 203.9 kB / 0.8825 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.154e-05/0.008001, allocations: 7.922 kB / 0.8825 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.008016, allocations: 4 kB / 0.8825 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.763e-05/0.008084, allocations: 0 / 0.8825 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.734e-05/0.008151, allocations: 11.98 kB / 0.8825 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-06/0.008158, allocations: 4 kB / 0.8825 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.589e-05/0.008213, allocations: 139.1 kB / 0.8827 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1e-07/0.008214, allocations: 0 / 0.8827 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002632/0.008477, allocations: 8 kB / 0.8827 GB, free: 1.801 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 (intGreThr.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.0001039/0.008581, allocations: 91.25 kB / 0.8828 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001275/0.008708, allocations: 31.67 kB / 0.8828 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.00871, allocations: 0 / 0.8828 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.495e-05/0.008755, allocations: 19.67 kB / 0.8828 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.009058, allocations: 19.88 kB / 0.8828 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003781/0.009436, allocations: 134.3 kB / 0.883 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.163e-05/0.009488, allocations: 55.34 kB / 0.883 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.14e-05/0.009529, allocations: 4 kB / 0.883 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.166e-05/0.009581, allocations: 16.5 kB / 0.883 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of SimCode: time 1.022e-06/0.009582, allocations: 3.938 kB / 0.883 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of Templates: time 0.003482/0.01306, allocations: 0.9681 MB / 0.884 GB, free: 424 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.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.966848985059187]