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.002025/0.002025, allocations: 79.28 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002383/0.002383, allocations: 164.2 kB / 22.46 MB, free: 5.375 MB / 14.72 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.615/1.615, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] 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 2.892/2.892, allocations: 377.8 MB / 0.6221 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 176] 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 2.505e-06/2.505e-06, allocations: 0 / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.667e-05/2.918e-05, allocations: 6.219 kB / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002041/0.00207, allocations: 0.7634 MB / 0.9822 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.003359, allocations: 0.8937 MB / 0.9831 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.162e-05/0.00341, allocations: 0 / 0.9831 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.053e-05/0.003451, allocations: 3.938 kB / 0.9831 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.388e-05/0.003545, allocations: 11.88 kB / 0.9831 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002235/0.003768, allocations: 47.81 kB / 0.9831 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.003902, allocations: 83.81 kB / 0.9832 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.004031, allocations: 23.92 kB / 0.9832 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.004155, allocations: 47.94 kB / 0.9833 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.004256, allocations: 39.89 kB / 0.9833 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.246e-05/0.004289, allocations: 8 kB / 0.9833 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.094e-05/0.00431, allocations: 12 kB / 0.9833 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.561e-05/0.004345, allocations: 23.91 kB / 0.9833 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.372e-05/0.004389, allocations: 23.92 kB / 0.9834 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.004564, allocations: 95.64 kB / 0.9835 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.004567, allocations: 0 / 0.9835 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.22e-07/0.004568, allocations: 4 kB / 0.9835 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.004572, allocations: 0 / 0.9835 GB, free: 9.867 MB / 0.9356 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.0006938/0.005266, allocations: 322 kB / 0.9838 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.005304, allocations: 8.031 kB / 0.9838 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.533e-05/0.00535, allocations: 12.89 kB / 0.9838 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.005495, allocations: 117.7 kB / 0.9839 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.005513, allocations: 4.375 kB / 0.9839 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.005533, allocations: 8.375 kB / 0.9839 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003454/0.005878, allocations: 106.2 kB / 0.984 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.00589, allocations: 3.938 kB / 0.984 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.005905, allocations: 0 / 0.984 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.00591, allocations: 0 / 0.984 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004066/0.006317, allocations: 103.9 kB / 0.9841 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005752/0.006892, allocations: 276.3 kB / 0.9844 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006971/0.007589, allocations: 110.6 kB / 0.9845 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000284/0.007873, allocations: 68.73 kB / 0.9846 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.007895, allocations: 0 / 0.9846 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.007927, allocations: 30.56 kB / 0.9846 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.007928, allocations: 0 / 0.9846 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0007354/0.008664, allocations: 181.5 kB / 0.9848 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/0.008719, allocations: 51.41 kB / 0.9848 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.008843, allocations: 125.8 kB / 0.9849 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.008871, allocations: 33.7 kB / 0.985 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.468e-05/0.008946, allocations: 92.08 kB / 0.985 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.008982, allocations: 23.8 kB / 0.9851 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.413e-05/0.009036, allocations: 29.64 kB / 0.9851 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.009206, allocations: 318.8 kB / 0.9854 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.00941, allocations: 43.95 kB / 0.9854 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.009597, allocations: 51.94 kB / 0.9855 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003839/0.009981, allocations: 92.78 kB / 0.9856 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.009983, allocations: 0 / 0.9856 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004522/0.01044, allocations: 137.5 kB / 0.9857 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.01045, allocations: 8 kB / 0.9857 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.01046, allocations: 4 kB / 0.9857 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.01048, allocations: 0 / 0.9857 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.01066, allocations: 27.91 kB / 0.9857 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.01066, allocations: 0 / 0.9857 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.01079, allocations: 19.97 kB / 0.9858 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.0108, allocations: 4 kB / 0.9858 GB, free: 7.328 MB / 0.9356 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.0001884/0.01099, allocations: 121.8 kB / 0.9859 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.01102, allocations: 7.891 kB / 0.9859 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005346/0.01156, allocations: 154.5 kB / 0.986 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.01156, allocations: 0 / 0.986 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.01156, allocations: 0 / 0.986 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.01156, allocations: 3.938 kB / 0.986 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.01176, allocations: 133.2 kB / 0.9862 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.01176, allocations: 4 kB / 0.9862 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.01193, allocations: 31.91 kB / 0.9862 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.01193, allocations: 0 / 0.9862 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.01195, allocations: 3.984 kB / 0.9862 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.01195, allocations: 0 / 0.9862 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.01195, allocations: 0 / 0.9862 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005411/0.01249, allocations: 247.4 kB / 0.9864 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.698e-05/0.01251, allocations: 7.891 kB / 0.9865 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.01253, allocations: 4 kB / 0.9865 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.01267, allocations: 11.98 kB / 0.9865 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.72e-05/0.01277, allocations: 23.97 kB / 0.9865 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.01278, allocations: 3.984 kB / 0.9865 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.826e-05/0.01285, allocations: 95.28 kB / 0.9866 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.01285, allocations: 0 / 0.9866 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002361/0.01309, allocations: 19.92 kB / 0.9866 GB, free: 6.41 MB / 0.9356 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.000137/0.01322, allocations: 91.78 kB / 0.9867 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004578/0.01368, allocations: 107.9 kB / 0.9868 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01368, allocations: 0 / 0.9868 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002297/0.01391, allocations: 63.88 kB / 0.9869 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.01424, allocations: 7.938 kB / 0.9869 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004897/0.01473, allocations: 177.4 kB / 0.987 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.557e-05/0.01482, allocations: 71.58 kB / 0.9871 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.513e-05/0.01488, allocations: 12 kB / 0.9871 GB, free: 5.832 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.786e-05/0.01496, allocations: 24.48 kB / 0.9871 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of SimCode: time 3.01e-07/0.01496, allocations: 0 / 0.9871 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of Templates: time 0.005297/0.02026, allocations: 1.707 MB / 0.9888 GB, free: 4.121 MB / 0.9356 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: 8.500358164310455]