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.0009715/0.0009715, allocations: 73.88 kB / 20.66 MB, free: 3.84 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.001016/0.001016, allocations: 173 kB / 24.06 MB, free: 448 kB / 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.9733/0.9733, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.08/2.08, allocations: 429.5 MB / 0.6743 GB, free: 3.91 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 2.524e-06/2.524e-06, allocations: 4 kB / 0.8794 GB, free: 5.977 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.527e-05/2.779e-05, allocations: 4.312 kB / 0.8794 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.00145/0.001477, allocations: 0.7699 MB / 0.8802 GB, free: 5.23 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009235/0.002401, allocations: 0.9041 MB / 0.881 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.811e-05/0.002449, allocations: 0 / 0.881 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.602e-05/0.002485, allocations: 11.86 kB / 0.8811 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.905e-05/0.002574, allocations: 16.27 kB / 0.8811 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001521/0.002726, allocations: 43.88 kB / 0.8811 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.505e-05/0.002821, allocations: 87.75 kB / 0.8812 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.717e-05/0.002918, allocations: 23.92 kB / 0.8812 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.716e-05/0.003006, allocations: 52.83 kB / 0.8813 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.06e-05/0.003066, allocations: 35.89 kB / 0.8813 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.003088, allocations: 8 kB / 0.8813 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.157e-05/0.0031, allocations: 9.094 kB / 0.8813 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.454e-05/0.003124, allocations: 23.91 kB / 0.8813 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.00315, allocations: 23.92 kB / 0.8814 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.003253, allocations: 68.36 kB / 0.8814 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.003255, allocations: 0.6562 kB / 0.8814 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.6e-07/0.003256, allocations: 0 / 0.8814 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.00326, allocations: 1.031 kB / 0.8814 GB, free: 3.926 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.0003917/0.003652, allocations: 412.3 kB / 0.8818 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.003684, allocations: 9.188 kB / 0.8818 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.00372, allocations: 12.89 kB / 0.8818 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.793e-05/0.003808, allocations: 120.5 kB / 0.882 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.003829, allocations: 9.375 kB / 0.882 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.003841, allocations: 4.375 kB / 0.882 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.003988, allocations: 94.7 kB / 0.8821 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.003996, allocations: 3.938 kB / 0.8821 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.956e-06/0.004005, allocations: 5.125 kB / 0.8821 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.872e-06/0.004012, allocations: 3.984 kB / 0.8821 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.509e-05/0.004057, allocations: 25.02 kB / 0.8821 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003055/0.004363, allocations: 300.2 kB / 0.8824 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002436/0.004606, allocations: 79.05 kB / 0.8825 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.951e-05/0.004636, allocations: 23.67 kB / 0.8825 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.004651, allocations: 0 / 0.8825 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.00467, allocations: 37.39 kB / 0.8825 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.004671, allocations: 0 / 0.8825 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0001703/0.004842, allocations: 73.62 kB / 0.8826 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.004869, allocations: 59.33 kB / 0.8827 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.744e-05/0.004947, allocations: 183.1 kB / 0.8828 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.00496, allocations: 33.64 kB / 0.8829 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.911e-05/0.005009, allocations: 142.8 kB / 0.883 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.00503, allocations: 19.8 kB / 0.883 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.849e-05/0.005068, allocations: 36.91 kB / 0.883 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.005177, allocations: 496.1 kB / 0.8835 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.59e-05/0.005203, allocations: 8 kB / 0.8835 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.37e-05/0.005226, allocations: 13.06 kB / 0.8835 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.478e-05/0.005281, allocations: 35.61 kB / 0.8836 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.005284, allocations: 4 kB / 0.8836 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.816e-05/0.005382, allocations: 67.19 kB / 0.8836 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.005395, allocations: 6.188 kB / 0.8836 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.005399, allocations: 0 / 0.8836 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.005407, allocations: 8 kB / 0.8837 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.699e-05/0.005484, allocations: 23.97 kB / 0.8837 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.385e-06/0.005487, allocations: 0 / 0.8837 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.704e-05/0.005524, allocations: 7.953 kB / 0.8837 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-06/0.005531, allocations: 4 kB / 0.8837 GB, free: 1.434 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 7.279e-05/0.005604, allocations: 168.5 kB / 0.8839 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.005626, allocations: 7.953 kB / 0.8839 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.005748, allocations: 78.03 kB / 0.8839 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.005749, allocations: 4 kB / 0.8839 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.005751, allocations: 4 kB / 0.8839 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.005754, allocations: 0 / 0.8839 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.005861, allocations: 117.2 kB / 0.8841 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.005862, allocations: 0 / 0.8841 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.646e-05/0.005919, allocations: 19.92 kB / 0.8841 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.61e-07/0.00592, allocations: 0 / 0.8841 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.005929, allocations: 11.98 kB / 0.8841 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.00593, allocations: 0 / 0.8841 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.005931, allocations: 0 / 0.8841 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.006067, allocations: 228.4 kB / 0.8843 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.218e-05/0.006079, allocations: 15.83 kB / 0.8843 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.00609, allocations: 3.938 kB / 0.8843 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.096e-05/0.006141, allocations: 8 kB / 0.8843 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/0.006192, allocations: 23.95 kB / 0.8844 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.006197, allocations: 4 kB / 0.8844 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.81e-05/0.006236, allocations: 131.2 kB / 0.8845 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4e-08/0.006236, allocations: 0 / 0.8845 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001543/0.00639, allocations: 16 kB / 0.8845 GB, free: 0.543 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 6.947e-05/0.006459, allocations: 95.25 kB / 0.8846 GB, free: 452 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.553e-05/0.006555, allocations: 47.7 kB / 0.8846 GB, free: 400 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.006556, allocations: 0 / 0.8846 GB, free: 400 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.47e-05/0.006601, allocations: 39.61 kB / 0.8847 GB, free: 356 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001867/0.006787, allocations: 21.12 kB / 0.8847 GB, free: 336 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002647/0.007052, allocations: 166.8 kB / 0.8848 GB, free: 136 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.476e-05/0.007087, allocations: 67.34 kB / 0.8849 GB, free: 48 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.034e-05/0.007127, allocations: 11.98 kB / 0.8849 GB, free: 36 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.135e-05/0.007219, allocations: 90.19 kB / 0.885 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of SimCode: time 8.11e-07/0.007219, allocations: 0 / 0.885 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of Templates: time 0.003232/0.01045, allocations: 1.88 MB / 0.8868 GB, free: 14.09 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.350747136864811]