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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 100.2 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001829/0.001829, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.681/2.681, allocations: 436.5 MB / 0.7104 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003489/0.000349, allocations: 12 kB / 0.8708 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7934/0.7938, allocations: 153.7 MB / 1.021 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.0009727/0.7948, allocations: 489.2 kB / 1.021 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009655/0.7958, allocations: 0.8585 MB / 1.022 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.057e-05/0.7958, allocations: 0 / 1.022 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.821e-05/0.7958, allocations: 0 / 1.022 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.966e-05/0.7959, allocations: 15.94 kB / 1.022 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.7961, allocations: 27.95 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.561e-05/0.7962, allocations: 51.88 kB / 1.022 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.7963, allocations: 19.97 kB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.733e-05/0.7964, allocations: 27.91 kB / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.151e-05/0.7965, allocations: 43.81 kB / 1.022 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.7965, allocations: 11.94 kB / 1.022 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.603e-05/0.7965, allocations: 4 kB / 1.022 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.933e-05/0.7966, allocations: 11.98 kB / 1.022 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.097e-05/0.7966, allocations: 37.64 kB / 1.022 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.484e-05/0.7967, allocations: 55.86 kB / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.7967, allocations: 0 / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.903e-06/0.7967, allocations: 0 / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.7967, allocations: 0 / 1.022 GB, free: 15.45 MB / 0.7794 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.0005859/0.7973, allocations: 393.1 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.7974, allocations: 11.98 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/0.7974, allocations: 7.906 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.7975, allocations: 174.9 kB / 1.023 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.7976, allocations: 8 kB / 1.023 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.7976, allocations: 4 kB / 1.023 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003142/0.7979, allocations: 124.4 kB / 1.023 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.7979, allocations: 0 / 1.023 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.7979, allocations: 0 / 1.023 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.798, allocations: 4 kB / 1.023 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003811/0.7983, allocations: 115.9 kB / 1.023 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005488/0.7989, allocations: 356.5 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005973/0.7995, allocations: 126.6 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.7995, allocations: 0 / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.7996, allocations: 38.5 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.7996, allocations: 0 / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0006835/0.8003, allocations: 221.6 kB / 1.024 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.8003, allocations: 55.34 kB / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.8004, allocations: 121.8 kB / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.8005, allocations: 25.7 kB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.198e-05/0.8005, allocations: 96.06 kB / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.8006, allocations: 19.66 kB / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.123e-06/0.8006, allocations: 0 / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.8007, allocations: 326.8 kB / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.8009, allocations: 55.95 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.8011, allocations: 63.89 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.8013, allocations: 51.95 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.8013, allocations: 0 / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004127/0.8017, allocations: 157.5 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.8017, allocations: 4 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.8017, allocations: 4 kB / 1.025 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.8018, allocations: 0 / 1.025 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.8019, allocations: 31.97 kB / 1.025 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.8019, allocations: 0 / 1.025 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.8021, allocations: 23.97 kB / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.8021, allocations: 0 / 1.025 GB, free: 12.67 MB / 0.7794 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 (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 initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.8022, allocations: 125.7 kB / 1.025 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.886e-05/0.8022, allocations: 7.906 kB / 1.025 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004813/0.8027, allocations: 174.5 kB / 1.025 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.8027, allocations: 0 / 1.025 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.8027, allocations: 4 kB / 1.025 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.8028, allocations: 0 / 1.025 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.803, allocations: 197.6 kB / 1.025 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.803, allocations: 0 / 1.025 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.8032, allocations: 35.97 kB / 1.025 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.8032, allocations: 0 / 1.025 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.8032, allocations: 4 kB / 1.025 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.8032, allocations: 4 kB / 1.025 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.8032, allocations: 3.938 kB / 1.025 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000464/0.8037, allocations: 263.4 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.503e-05/0.8037, allocations: 85.02 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.8038, allocations: 4 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.8039, allocations: 23.97 kB / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.293e-05/0.804, allocations: 15.97 kB / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.804, allocations: 11.92 kB / 1.026 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.607e-05/0.8041, allocations: 95.27 kB / 1.026 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8041, allocations: 4 kB / 1.026 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000225/0.8043, allocations: 11.94 kB / 1.026 GB, free: 11.52 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001245/0.8044, allocations: 103.2 kB / 1.026 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004313/0.8049, allocations: 135.8 kB / 1.026 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.8049, allocations: 0 / 1.026 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.8051, allocations: 71.95 kB / 1.026 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.8053, allocations: 4 kB / 1.026 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004279/0.8058, allocations: 193.2 kB / 1.026 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.806, allocations: 0.7004 MB / 1.027 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.823e-05/0.8061, allocations: 8.188 kB / 1.027 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.972e-05/0.8062, allocations: 19.42 kB / 1.027 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.8062, allocations: 0 / 1.027 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of Templates: time 0.003723/0.8099, allocations: 1.286 MB / 1.028 GB, free: 8.953 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches