Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.001589/0.001589, allocations: 97.06 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.001936/0.001936, 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 0.9594/0.9594, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.183/2.183, allocations: 429.5 MB / 0.6732 GB, free: 4.059 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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.747e-06/3.747e-06, allocations: 0 / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.267e-05/3.642e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001752/0.001789, allocations: 0.7961 MB / 0.879 GB, free: 5.547 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.002889, allocations: 0.9041 MB / 0.8798 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.36e-05/0.002943, allocations: 0 / 0.8798 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.274e-05/0.002985, allocations: 4.703 kB / 0.8798 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.003086, allocations: 8.625 kB / 0.8798 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002139/0.0033, allocations: 52.62 kB / 0.8799 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.003414, allocations: 87.75 kB / 0.88 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.003551, allocations: 29.55 kB / 0.88 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.003674, allocations: 51.88 kB / 0.8801 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.662e-05/0.00375, allocations: 27.97 kB / 0.8801 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.257e-05/0.003783, allocations: 8 kB / 0.8801 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.434e-05/0.003797, allocations: 9.188 kB / 0.8801 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.837e-05/0.003826, allocations: 31.89 kB / 0.8801 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.664e-05/0.003862, allocations: 23.92 kB / 0.8802 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.003998, allocations: 68.81 kB / 0.8802 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.004003, allocations: 0 / 0.8802 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.884e-06/0.004005, allocations: 0 / 0.8802 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.004011, allocations: 0.6562 kB / 0.8802 GB, free: 4.242 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000536/0.004547, allocations: 409 kB / 0.8806 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.004596, allocations: 8.031 kB / 0.8806 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.49e-05/0.00466, allocations: 20.83 kB / 0.8806 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.004829, allocations: 116.5 kB / 0.8808 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.00486, allocations: 12.31 kB / 0.8808 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.004876, allocations: 4.375 kB / 0.8808 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.005108, allocations: 94.89 kB / 0.8809 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.00512, allocations: 7.875 kB / 0.8809 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.005136, allocations: 4 kB / 0.8809 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.138e-06/0.005145, allocations: 0 / 0.8809 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.638e-05/0.005222, allocations: 31.95 kB / 0.8809 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004647/0.005686, allocations: 325 kB / 0.8812 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003233/0.00601, allocations: 72.12 kB / 0.8813 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.815e-05/0.006058, allocations: 27.67 kB / 0.8813 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.006079, allocations: 1.094 kB / 0.8813 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.006107, allocations: 37.39 kB / 0.8813 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.006108, allocations: 0 / 0.8813 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002401/0.006348, allocations: 90.69 kB / 0.8814 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.006386, allocations: 51.41 kB / 0.8815 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.00649, allocations: 186.9 kB / 0.8817 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.006504, allocations: 25.7 kB / 0.8817 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.415e-05/0.006558, allocations: 141.7 kB / 0.8818 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.006584, allocations: 27.78 kB / 0.8818 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-05/0.006625, allocations: 31.36 kB / 0.8819 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.006741, allocations: 0.4883 MB / 0.8823 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.987e-05/0.006781, allocations: 11.98 kB / 0.8824 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.982e-05/0.006811, allocations: 11.98 kB / 0.8824 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.516e-05/0.006886, allocations: 39.62 kB / 0.8824 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.006889, allocations: 1.656 kB / 0.8824 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001172/0.007006, allocations: 70.14 kB / 0.8825 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.007023, allocations: 4 kB / 0.8825 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.007028, allocations: 0.625 kB / 0.8825 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.007048, allocations: 4 kB / 0.8825 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.007163, allocations: 21.62 kB / 0.8825 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.007173, allocations: 4.078 kB / 0.8825 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.21e-05/0.007215, allocations: 11.89 kB / 0.8825 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.007226, allocations: 11.98 kB / 0.8825 GB, free: 1.684 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: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.791e-05/0.007324, allocations: 165.8 kB / 0.8827 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.161e-05/0.007356, allocations: 11.95 kB / 0.8827 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001989/0.007554, allocations: 86.8 kB / 0.8828 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.007557, allocations: 1.594 kB / 0.8828 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.007563, allocations: 0 / 0.8828 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.007566, allocations: 0 / 0.8828 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.007708, allocations: 144.5 kB / 0.8829 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.00771, allocations: 4 kB / 0.8829 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.397e-05/0.007784, allocations: 19.97 kB / 0.8829 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.007788, allocations: 4 kB / 0.883 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.007798, allocations: 0 / 0.883 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.0078, allocations: 0 / 0.883 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.007802, allocations: 3.938 kB / 0.883 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.007978, allocations: 235.8 kB / 0.8832 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.709e-05/0.007995, allocations: 3.953 kB / 0.8832 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.008013, allocations: 4 kB / 0.8832 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.532e-05/0.008069, allocations: 7.984 kB / 0.8832 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.287e-05/0.008151, allocations: 27.97 kB / 0.8832 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.008159, allocations: 4 kB / 0.8832 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.611e-05/0.008215, allocations: 131.2 kB / 0.8834 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.008215, allocations: 0 / 0.8834 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001637/0.008379, allocations: 16 kB / 0.8834 GB, free: 0.7578 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: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001288/0.008508, allocations: 95.23 kB / 0.8835 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001525/0.00866, allocations: 47.61 kB / 0.8835 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.008662, allocations: 0 / 0.8835 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.882e-05/0.008721, allocations: 43.66 kB / 0.8835 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.008946, allocations: 15.94 kB / 0.8836 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000373/0.009319, allocations: 178.1 kB / 0.8837 GB, free: 348 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.89e-05/0.009358, allocations: 60.2 kB / 0.8838 GB, free: 268 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.254e-05/0.0094, allocations: 12 kB / 0.8838 GB, free: 256 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.893e-05/0.009469, allocations: 24.48 kB / 0.8838 GB, free: 232 kB / 0.8386 GB Notification: Performance of SimCode: time 1.663e-06/0.009471, allocations: 3.938 kB / 0.8838 GB, free: 228 kB / 0.8386 GB Notification: Performance of Templates: time 0.003981/0.01345, allocations: 1.812 MB / 0.8856 GB, free: 14.43 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Max.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.627560763154179]