Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008549/0.0008549, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.000829/0.000829, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.895/0.895, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.78/1.78, allocations: 377.8 MB / 0.6228 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.026e-06/3.026e-06, allocations: 0 / 0.9822 GB, free: 0.9531 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.838e-05/3.141e-05, allocations: 2.281 kB / 0.9822 GB, free: 0.9492 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001464/0.001495, allocations: 0.7484 MB / 0.9829 GB, free: 204 kB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.002502, allocations: 0.8899 MB / 0.9838 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.953e-05/0.002552, allocations: 4 kB / 0.9838 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.89e-05/0.002591, allocations: 7.875 kB / 0.9838 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 9.999e-05/0.002691, allocations: 15.86 kB / 0.9838 GB, free: 15.27 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.002895, allocations: 39.84 kB / 0.9839 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.003011, allocations: 83.81 kB / 0.9839 GB, free: 15.15 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.003147, allocations: 19.98 kB / 0.984 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.003271, allocations: 55.88 kB / 0.984 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.486e-05/0.003346, allocations: 39.88 kB / 0.9841 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.921e-05/0.003375, allocations: 8 kB / 0.9841 GB, free: 15.03 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.162e-05/0.003387, allocations: 12 kB / 0.9841 GB, free: 15.02 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.356e-05/0.00341, allocations: 19.92 kB / 0.9841 GB, free: 15 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.191e-05/0.003442, allocations: 27.91 kB / 0.9841 GB, free: 14.97 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.003572, allocations: 87.72 kB / 0.9842 GB, free: 14.88 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.003574, allocations: 0 / 0.9842 GB, free: 14.88 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.243e-06/0.003576, allocations: 0 / 0.9842 GB, free: 14.88 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.003579, allocations: 0 / 0.9842 GB, free: 14.88 MB / 0.9011 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.0007423/0.004321, allocations: 326 kB / 0.9845 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.004361, allocations: 12.03 kB / 0.9845 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.658e-05/0.004397, allocations: 12.89 kB / 0.9845 GB, free: 14.51 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.004505, allocations: 125.6 kB / 0.9847 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.004522, allocations: 8.375 kB / 0.9847 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.004537, allocations: 4.375 kB / 0.9847 GB, free: 14.35 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.00474, allocations: 99.8 kB / 0.9848 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.004749, allocations: 3.938 kB / 0.9848 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.004761, allocations: 8 kB / 0.9848 GB, free: 14.24 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.004766, allocations: 0 / 0.9848 GB, free: 14.24 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002047/0.004971, allocations: 99.89 kB / 0.9849 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004016/0.005372, allocations: 276.3 kB / 0.9851 GB, free: 13.84 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003771/0.005749, allocations: 114.6 kB / 0.9852 GB, free: 13.72 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.005855, allocations: 56.75 kB / 0.9853 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.00588, allocations: 4 kB / 0.9853 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.005898, allocations: 30.56 kB / 0.9853 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.005899, allocations: 3.938 kB / 0.9853 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of matching and sorting (n=7): time 0.0004142/0.006313, allocations: 193.6 kB / 0.9855 GB, free: 13.42 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.006343, allocations: 51.41 kB / 0.9856 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.79e-05/0.006421, allocations: 125.8 kB / 0.9857 GB, free: 13.22 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.006435, allocations: 25.7 kB / 0.9857 GB, free: 13.19 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.652e-05/0.006482, allocations: 96.08 kB / 0.9858 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.006505, allocations: 23.8 kB / 0.9858 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/0.006541, allocations: 21.7 kB / 0.9858 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.231e-05/0.006623, allocations: 326.8 kB / 0.9862 GB, free: 12.71 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.006725, allocations: 47.89 kB / 0.9862 GB, free: 12.67 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.039e-05/0.006815, allocations: 47.95 kB / 0.9863 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.007, allocations: 92.78 kB / 0.9863 GB, free: 12.53 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.007002, allocations: 0 / 0.9863 GB, free: 12.53 MB / 0.9011 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00025/0.007252, allocations: 141.5 kB / 0.9865 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.007269, allocations: 8 kB / 0.9865 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.007275, allocations: 4 kB / 0.9865 GB, free: 12.37 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.00729, allocations: 0 / 0.9865 GB, free: 12.37 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.219e-05/0.007382, allocations: 27.91 kB / 0.9865 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.007388, allocations: 0 / 0.9865 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.173e-05/0.00744, allocations: 11.98 kB / 0.9865 GB, free: 12.33 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.007447, allocations: 3.984 kB / 0.9865 GB, free: 12.33 MB / 0.9011 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.783e-05/0.007525, allocations: 117.8 kB / 0.9866 GB, free: 12.2 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.945e-05/0.007544, allocations: 11.95 kB / 0.9867 GB, free: 12.19 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003003/0.007845, allocations: 146 kB / 0.9868 GB, free: 12.04 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.007847, allocations: 0 / 0.9868 GB, free: 12.04 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.007852, allocations: 0 / 0.9868 GB, free: 12.04 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.007856, allocations: 3.984 kB / 0.9868 GB, free: 12.04 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.007974, allocations: 133.2 kB / 0.9869 GB, free: 11.88 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.007975, allocations: 0 / 0.9869 GB, free: 11.88 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.604e-05/0.008051, allocations: 43.83 kB / 0.987 GB, free: 11.84 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.008054, allocations: 0 / 0.987 GB, free: 11.84 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.008064, allocations: 4 kB / 0.987 GB, free: 11.83 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.008065, allocations: 0 / 0.987 GB, free: 11.83 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.008067, allocations: 0 / 0.987 GB, free: 11.83 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.00833, allocations: 231.3 kB / 0.9872 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 1.318e-05/0.008344, allocations: 11.89 kB / 0.9872 GB, free: 11.58 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.008357, allocations: 4 kB / 0.9872 GB, free: 11.57 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.706e-05/0.008424, allocations: 15.98 kB / 0.9872 GB, free: 11.56 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.068e-05/0.008495, allocations: 23.97 kB / 0.9872 GB, free: 11.54 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-06/0.008502, allocations: 7.984 kB / 0.9873 GB, free: 11.53 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 4.162e-05/0.008544, allocations: 95.64 kB / 0.9873 GB, free: 11.43 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.008544, allocations: 0 / 0.9873 GB, free: 11.43 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001549/0.008699, allocations: 12 kB / 0.9874 GB, free: 11.42 MB / 0.9011 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.000103/0.008802, allocations: 107.7 kB / 0.9875 GB, free: 11.31 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002461/0.009048, allocations: 99.91 kB / 0.9876 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.00905, allocations: 0 / 0.9876 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.009155, allocations: 64.5 kB / 0.9876 GB, free: 11.15 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.009416, allocations: 19.02 kB / 0.9876 GB, free: 11.13 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003509/0.009767, allocations: 207.1 kB / 0.9878 GB, free: 10.89 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.093e-05/0.009818, allocations: 75.33 kB / 0.9879 GB, free: 10.8 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.399e-05/0.009872, allocations: 20.48 kB / 0.9879 GB, free: 10.78 MB / 0.9011 GB Notification: Performance of SimCode: time 7.62e-07/0.009872, allocations: 0 / 0.9879 GB, free: 10.78 MB / 0.9011 GB Notification: Performance of Templates: time 0.001987/0.01186, allocations: 1.259 MB / 0.9891 GB, free: 9.531 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.503165534697473]