Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.001559/0.001559, 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.001537/0.001537, 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 1.008/1.008, 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.091/2.091, allocations: 429.5 MB / 0.6732 GB, free: 4.039 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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.594e-05/1.774e-05, allocations: 3.078 kB / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001309/0.001327, allocations: 0.7784 MB / 0.8789 GB, free: 5.539 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.002362, allocations: 0.9122 MB / 0.8798 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.4e-05/0.002406, allocations: 0 / 0.8798 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.569e-05/0.002442, allocations: 9.531 kB / 0.8798 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.946e-05/0.002521, allocations: 14.55 kB / 0.8799 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.00016/0.002681, allocations: 40.55 kB / 0.8799 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.429e-05/0.002775, allocations: 90.06 kB / 0.88 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.00288, allocations: 19.86 kB / 0.88 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.131e-05/0.002971, allocations: 53.44 kB / 0.8801 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.454e-05/0.003036, allocations: 43.88 kB / 0.8801 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.00306, allocations: 8 kB / 0.8801 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.233e-05/0.003072, allocations: 8 kB / 0.8801 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.138e-05/0.003093, allocations: 16.61 kB / 0.8801 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.203e-05/0.003125, allocations: 35.84 kB / 0.8802 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.003226, allocations: 57.14 kB / 0.8802 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.003228, allocations: 4 kB / 0.8802 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.41e-07/0.003229, allocations: 4 kB / 0.8802 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.003233, allocations: 0.8125 kB / 0.8802 GB, free: 4.23 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.0004084/0.003641, allocations: 405.9 kB / 0.8806 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.003678, allocations: 12.03 kB / 0.8806 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.146e-05/0.00372, allocations: 12.89 kB / 0.8806 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.299e-05/0.003813, allocations: 124.5 kB / 0.8808 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.003832, allocations: 384 / 0.8808 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.003849, allocations: 9.906 kB / 0.8808 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.004011, allocations: 102.9 kB / 0.8809 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.004023, allocations: 3.938 kB / 0.8809 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.004034, allocations: 3.031 kB / 0.8809 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.004041, allocations: 0 / 0.8809 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.747e-05/0.004109, allocations: 31.97 kB / 0.8809 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003631/0.004472, allocations: 323.5 kB / 0.8812 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/0.004739, allocations: 75.84 kB / 0.8813 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.164e-05/0.00478, allocations: 32.89 kB / 0.8813 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.004802, allocations: 4 kB / 0.8813 GB, free: 3 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.004822, allocations: 33.39 kB / 0.8813 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 7.81e-07/0.004823, allocations: 0 / 0.8813 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002001/0.005023, allocations: 85.62 kB / 0.8814 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.00505, allocations: 55.39 kB / 0.8815 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.02e-05/0.00513, allocations: 181.9 kB / 0.8817 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.005143, allocations: 29.7 kB / 0.8817 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.085e-05/0.005193, allocations: 142.8 kB / 0.8818 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.005217, allocations: 23.8 kB / 0.8818 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-05/0.005255, allocations: 27.36 kB / 0.8819 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.005361, allocations: 0.4922 MB / 0.8823 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.078e-05/0.005402, allocations: 15.94 kB / 0.8824 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.679e-05/0.005439, allocations: 15.98 kB / 0.8824 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.927e-05/0.005508, allocations: 31.69 kB / 0.8824 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.00551, allocations: 0 / 0.8824 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001025/0.005612, allocations: 69.67 kB / 0.8825 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.005623, allocations: 8 kB / 0.8825 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.005628, allocations: 0 / 0.8825 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.005643, allocations: 0 / 0.8825 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.076e-05/0.005723, allocations: 27.91 kB / 0.8825 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.005728, allocations: 0 / 0.8825 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.751e-05/0.005766, allocations: 15.95 kB / 0.8825 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.005772, allocations: 0 / 0.8825 GB, free: 1.672 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,min1.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 6.409e-05/0.005836, allocations: 168.5 kB / 0.8827 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.986e-05/0.005856, allocations: 7.953 kB / 0.8827 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001367/0.005992, allocations: 82.62 kB / 0.8828 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.005994, allocations: 4 kB / 0.8828 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.005998, allocations: 0 / 0.8828 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.006, allocations: 3.938 kB / 0.8828 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.006111, allocations: 144.5 kB / 0.8829 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.006112, allocations: 0 / 0.8829 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.186e-05/0.006174, allocations: 27.91 kB / 0.8829 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.006176, allocations: 0 / 0.8829 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.006183, allocations: 0 / 0.8829 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.006184, allocations: 0 / 0.8829 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.006185, allocations: 0 / 0.8829 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.006457, allocations: 235.9 kB / 0.8832 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.133e-05/0.006468, allocations: 11.89 kB / 0.8832 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.006481, allocations: 4 kB / 0.8832 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.981e-05/0.006531, allocations: 11.98 kB / 0.8832 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.869e-05/0.00659, allocations: 19.97 kB / 0.8832 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.006594, allocations: 4 kB / 0.8832 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.094e-05/0.006635, allocations: 139.5 kB / 0.8833 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.006635, allocations: 3.938 kB / 0.8834 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000146/0.006781, allocations: 16 kB / 0.8834 GB, free: 0.7305 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 (min1.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.11e-05/0.006852, allocations: 102.7 kB / 0.8835 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001135/0.006966, allocations: 39.67 kB / 0.8835 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.006967, allocations: 4 kB / 0.8835 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.187e-05/0.007019, allocations: 43.59 kB / 0.8835 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.007212, allocations: 15.94 kB / 0.8836 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002846/0.007496, allocations: 166.8 kB / 0.8837 GB, free: 328 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.271e-05/0.007529, allocations: 59.34 kB / 0.8838 GB, free: 248 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.407e-05/0.007563, allocations: 12 kB / 0.8838 GB, free: 236 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.128e-05/0.007614, allocations: 24.48 kB / 0.8838 GB, free: 212 kB / 0.8386 GB Notification: Performance of SimCode: time 8.22e-07/0.007615, allocations: 0 / 0.8838 GB, free: 212 kB / 0.8386 GB Notification: Performance of Templates: time 0.00289/0.0105, allocations: 1.724 MB / 0.8855 GB, free: 14.51 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Min.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.560689351055771]