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.001281/0.001281, 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.001649/0.001649, allocations: 169 kB / 23.02 MB, free: 1.551 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.9834/0.9834, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.09/2.09, allocations: 429.5 MB / 0.6732 GB, free: 4.055 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 1.493e-06/1.493e-06, allocations: 0 / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.202e-05/1.352e-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.Max): time 0.00164/0.001653, allocations: 0.789 MB / 0.879 GB, free: 5.512 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.002695, allocations: 0.9105 MB / 0.8798 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.119e-05/0.002736, allocations: 1.641 kB / 0.8798 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.142e-05/0.002768, allocations: 3.938 kB / 0.8798 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.105e-05/0.002839, allocations: 14.58 kB / 0.8799 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000148/0.002987, allocations: 43.89 kB / 0.8799 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.003087, allocations: 83.81 kB / 0.88 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.547e-05/0.003172, allocations: 25.39 kB / 0.88 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.278e-05/0.003265, allocations: 55.88 kB / 0.8801 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.754e-05/0.003333, allocations: 35.89 kB / 0.8801 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.003355, allocations: 8 kB / 0.8801 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.456e-05/0.003369, allocations: 9.438 kB / 0.8801 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.461e-05/0.003394, allocations: 23.91 kB / 0.8801 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.514e-05/0.003429, allocations: 31.91 kB / 0.8802 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.003535, allocations: 60.86 kB / 0.8802 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.003537, allocations: 0 / 0.8802 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.31e-07/0.003537, allocations: 0 / 0.8802 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.003541, allocations: 0 / 0.8802 GB, free: 4.207 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.0004218/0.003963, allocations: 415.7 kB / 0.8806 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.003994, allocations: 8.031 kB / 0.8806 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.108e-05/0.004035, allocations: 16.89 kB / 0.8806 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.283e-05/0.004128, allocations: 120.5 kB / 0.8808 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.004148, allocations: 4.375 kB / 0.8808 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.004166, allocations: 8.375 kB / 0.8808 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.00436, allocations: 94.89 kB / 0.8809 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.004371, allocations: 7.938 kB / 0.8809 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.004384, allocations: 4 kB / 0.8809 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.00439, allocations: 0 / 0.8809 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.953e-05/0.004479, allocations: 31.72 kB / 0.8809 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004021/0.004881, allocations: 315.6 kB / 0.8812 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003471/0.005228, allocations: 79.14 kB / 0.8813 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.765e-05/0.005286, allocations: 31.67 kB / 0.8813 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.005306, allocations: 3.984 kB / 0.8813 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.005329, allocations: 37.33 kB / 0.8814 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.005331, allocations: 4 kB / 0.8814 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.000237/0.005568, allocations: 85.61 kB / 0.8814 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.005599, allocations: 55.34 kB / 0.8815 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.0057, allocations: 181.8 kB / 0.8817 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.005716, allocations: 33.7 kB / 0.8817 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.418e-05/0.005771, allocations: 138.8 kB / 0.8818 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.005797, allocations: 23.8 kB / 0.8818 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.83e-05/0.005845, allocations: 35.36 kB / 0.8819 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.005969, allocations: 496.1 kB / 0.8824 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.501e-05/0.006014, allocations: 15.98 kB / 0.8824 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.089e-05/0.006055, allocations: 11.98 kB / 0.8824 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.561e-05/0.006141, allocations: 39.62 kB / 0.8824 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.006142, allocations: 0 / 0.8824 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001416/0.006284, allocations: 69.67 kB / 0.8825 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.006295, allocations: 4 kB / 0.8825 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.006299, allocations: 8 kB / 0.8825 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.006312, allocations: 0 / 0.8825 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.006419, allocations: 19.98 kB / 0.8825 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.006423, allocations: 3.984 kB / 0.8825 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.485e-05/0.006478, allocations: 7.953 kB / 0.8825 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.978e-06/0.006488, allocations: 7.938 kB / 0.8825 GB, free: 1.637 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 8.391e-05/0.006572, allocations: 160.5 kB / 0.8827 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.487e-05/0.006607, allocations: 11.94 kB / 0.8827 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001785/0.006785, allocations: 90.62 kB / 0.8828 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.006787, allocations: 0 / 0.8828 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.00679, allocations: 0 / 0.8828 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.006792, allocations: 0 / 0.8828 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.00695, allocations: 148.5 kB / 0.8829 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.006951, allocations: 0 / 0.8829 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.499e-05/0.007046, allocations: 23.91 kB / 0.883 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.007048, allocations: 0 / 0.883 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.007056, allocations: 7.938 kB / 0.883 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.007058, allocations: 0 / 0.883 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.007059, allocations: 0 / 0.883 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.00725, allocations: 239.9 kB / 0.8832 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.265e-05/0.007263, allocations: 3.953 kB / 0.8832 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.00728, allocations: 8 kB / 0.8832 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.094e-05/0.007371, allocations: 7.984 kB / 0.8832 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.935e-05/0.00744, allocations: 19.97 kB / 0.8832 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.007449, allocations: 4 kB / 0.8832 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.553e-05/0.007505, allocations: 135.2 kB / 0.8834 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.1e-08/0.007505, allocations: 0 / 0.8834 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002639/0.007769, allocations: 16 kB / 0.8834 GB, free: 0.7031 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 7.45e-05/0.007843, allocations: 99.19 kB / 0.8835 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001459/0.007989, allocations: 47.66 kB / 0.8835 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.82e-07/0.00799, allocations: 0 / 0.8835 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.52e-05/0.008065, allocations: 43.59 kB / 0.8836 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.008332, allocations: 15.94 kB / 0.8836 GB, free: 496 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003472/0.008679, allocations: 170.8 kB / 0.8837 GB, free: 292 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.002e-05/0.008719, allocations: 59.34 kB / 0.8838 GB, free: 212 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.631e-05/0.008775, allocations: 12 kB / 0.8838 GB, free: 200 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.655e-05/0.008842, allocations: 24.48 kB / 0.8838 GB, free: 176 kB / 0.8386 GB Notification: Performance of SimCode: time 4.2e-07/0.008842, allocations: 0 / 0.8838 GB, free: 176 kB / 0.8386 GB Notification: Performance of Templates: time 0.003875/0.01272, allocations: 1.721 MB / 0.8855 GB, free: 14.48 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.582254852633923]