Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 118.2 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001879/0.001879, allocations: 194.2 kB / 20.08 MB, free: 3.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.607/2.607, allocations: 443.5 MB / 0.7293 GB, free: 14.55 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_10_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_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 67.89 kB / 1.057 GB, free: 1.941 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3113, allocations: 160.7 MB / 1.214 GB, free: 0.9023 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002025/0.3133, allocations: 0.778 MB / 1.215 GB, free: 120 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.3144, allocations: 0.8702 MB / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.706e-05/0.3145, allocations: 3.938 kB / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.314e-05/0.3145, allocations: 7.875 kB / 1.216 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.925e-05/0.3146, allocations: 15.86 kB / 1.216 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001751/0.3148, allocations: 35.95 kB / 1.216 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.3149, allocations: 91.75 kB / 1.216 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.315, allocations: 20 kB / 1.216 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.111e-05/0.3151, allocations: 35.89 kB / 1.216 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.648e-05/0.3152, allocations: 55.83 kB / 1.216 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.864e-05/0.3153, allocations: 8 kB / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.897e-05/0.3153, allocations: 8 kB / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.095e-05/0.3153, allocations: 19.91 kB / 1.216 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.253e-05/0.3154, allocations: 39.78 kB / 1.216 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.3155, allocations: 83.61 kB / 1.216 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3155, allocations: 0 / 1.216 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3155, allocations: 0 / 1.216 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.3155, allocations: 3.938 kB / 1.216 GB, free: 14.81 MB / 0.9669 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.0007005/0.3162, allocations: 403.1 kB / 1.216 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.3163, allocations: 8.031 kB / 1.216 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.264e-05/0.3163, allocations: 8.891 kB / 1.216 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.3165, allocations: 180.3 kB / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.3165, allocations: 4.375 kB / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.3165, allocations: 4.375 kB / 1.217 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003546/0.3169, allocations: 113 kB / 1.217 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.3169, allocations: 4 kB / 1.217 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.3169, allocations: 4 kB / 1.217 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.3169, allocations: 4 kB / 1.217 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003976/0.3173, allocations: 95.89 kB / 1.217 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005719/0.3179, allocations: 336.7 kB / 1.217 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006458/0.3185, allocations: 118.5 kB / 1.217 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002093/0.3187, allocations: 56.88 kB / 1.217 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.3187, allocations: 3.984 kB / 1.217 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.3188, allocations: 38.55 kB / 1.217 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.3188, allocations: 0 / 1.217 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0007188/0.3195, allocations: 181.5 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.3195, allocations: 51.41 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.3196, allocations: 129.8 kB / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.3197, allocations: 25.7 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.763e-05/0.3197, allocations: 96.09 kB / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/0.3198, allocations: 23.78 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.562e-05/0.3198, allocations: 25.7 kB / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.32, allocations: 314.8 kB / 1.218 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.3201, allocations: 47.89 kB / 1.218 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.3203, allocations: 59.89 kB / 1.218 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003876/0.3207, allocations: 92.77 kB / 1.218 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3207, allocations: 0 / 1.218 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004461/0.3212, allocations: 149.5 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.3212, allocations: 4 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3212, allocations: 4 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.3212, allocations: 0 / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.3214, allocations: 23.97 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.738e-06/0.3214, allocations: 0.5469 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.3215, allocations: 19.92 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-06/0.3215, allocations: 0 / 1.219 GB, free: 12.02 MB / 0.9669 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 0.0001041/0.3216, allocations: 121.8 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.3217, allocations: 7.953 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005151/0.3222, allocations: 149.9 kB / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.3222, allocations: 4 kB / 1.219 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3222, allocations: 4 kB / 1.219 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.3222, allocations: 3.938 kB / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.3224, allocations: 197.6 kB / 1.219 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3224, allocations: 0 / 1.219 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.3226, allocations: 23.97 kB / 1.219 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3226, allocations: 4 kB / 1.219 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.3226, allocations: 4 kB / 1.219 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3226, allocations: 0 / 1.219 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3226, allocations: 0 / 1.219 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005122/0.3231, allocations: 243.3 kB / 1.219 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.778e-05/0.3232, allocations: 92.98 kB / 1.219 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.3232, allocations: 0 / 1.219 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.3234, allocations: 15.98 kB / 1.219 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.694e-05/0.3234, allocations: 23.89 kB / 1.219 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.3235, allocations: 12 kB / 1.219 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.336e-05/0.3235, allocations: 95.7 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3235, allocations: 0 / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002404/0.3238, allocations: 15.94 kB / 1.22 GB, free: 10.92 MB / 0.9669 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.0001402/0.3239, allocations: 99.25 kB / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004824/0.3244, allocations: 107.8 kB / 1.22 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3244, allocations: 0 / 1.22 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002156/0.3246, allocations: 59.94 kB / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.3249, allocations: 4.328 kB / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004832/0.3254, allocations: 203.8 kB / 1.22 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.3257, allocations: 0.702 MB / 1.221 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.312e-05/0.3258, allocations: 19.42 kB / 1.221 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of SimCode: time 3.2e-07/0.3258, allocations: 7.938 kB / 1.221 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of Templates: time 0.003056/0.3288, allocations: 1.225 MB / 1.222 GB, free: 8.434 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.116575389169157]