Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001676/0.001676, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001991/0.001991, allocations: 192.4 kB / 22.17 MB, free: 5.656 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.433/1.433, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.79/2.79, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 72.12 kB / 1.109 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8214/0.8234, allocations: 168.7 MB / 1.274 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001981/0.8254, allocations: 0.7736 MB / 1.275 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.8265, allocations: 0.874 MB / 1.276 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.525e-05/0.8265, allocations: 0 / 1.276 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.405e-05/0.8266, allocations: 7.938 kB / 1.276 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.419e-05/0.8266, allocations: 11.86 kB / 1.276 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000171/0.8268, allocations: 43.89 kB / 1.276 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.8269, allocations: 83.77 kB / 1.276 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.8271, allocations: 27.97 kB / 1.276 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.421e-05/0.8271, allocations: 39.84 kB / 1.276 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.336e-05/0.8272, allocations: 51.81 kB / 1.276 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.505e-05/0.8273, allocations: 8 kB / 1.276 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.642e-05/0.8273, allocations: 8 kB / 1.276 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.653e-05/0.8273, allocations: 15.92 kB / 1.276 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.359e-05/0.8274, allocations: 31.86 kB / 1.276 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.8275, allocations: 102.2 kB / 1.276 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.8275, allocations: 0 / 1.276 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.193e-06/0.8275, allocations: 0 / 1.276 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.8275, allocations: 0 / 1.276 GB, free: 2.496 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.0006816/0.8282, allocations: 399.1 kB / 1.276 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.8282, allocations: 12.03 kB / 1.276 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.784e-05/0.8283, allocations: 8.891 kB / 1.276 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.8284, allocations: 176.3 kB / 1.277 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.8285, allocations: 4.375 kB / 1.277 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.8285, allocations: 8.375 kB / 1.277 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000327/0.8288, allocations: 109.5 kB / 1.277 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.8288, allocations: 0 / 1.277 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.8288, allocations: 4 kB / 1.277 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.8288, allocations: 0 / 1.277 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003968/0.8292, allocations: 95.91 kB / 1.277 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005645/0.8298, allocations: 340.6 kB / 1.277 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006553/0.8305, allocations: 122.6 kB / 1.277 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.8307, allocations: 48.81 kB / 1.277 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.8307, allocations: 4 kB / 1.277 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.8307, allocations: 30.56 kB / 1.277 GB, free: 1 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.103e-06/0.8307, allocations: 0 / 1.277 GB, free: 1 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0007228/0.8314, allocations: 189.4 kB / 1.278 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.8315, allocations: 55.41 kB / 1.278 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.8316, allocations: 137.6 kB / 1.278 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.8316, allocations: 29.7 kB / 1.278 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.685e-05/0.8317, allocations: 92.03 kB / 1.278 GB, free: 480 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.8317, allocations: 19.86 kB / 1.278 GB, free: 460 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.325e-05/0.8317, allocations: 25.7 kB / 1.278 GB, free: 428 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.8319, allocations: 318.8 kB / 1.278 GB, free: 100 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.8321, allocations: 51.94 kB / 1.278 GB, free: 48 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/0.8323, allocations: 43.95 kB / 1.278 GB, free: 4 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003973/0.8327, allocations: 100.8 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.8327, allocations: 0 / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004437/0.8331, allocations: 141.4 kB / 1.279 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.8331, allocations: 8 kB / 1.279 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.8331, allocations: 0 / 1.279 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.8331, allocations: 0 / 1.279 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.8333, allocations: 23.97 kB / 1.279 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.8333, allocations: 0 / 1.279 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.8335, allocations: 23.91 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.8335, allocations: 0 / 1.279 GB, free: 15.7 MB / 0.9825 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 9.345e-05/0.8336, allocations: 114.4 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.609e-05/0.8336, allocations: 7.953 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005088/0.8341, allocations: 165.8 kB / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.8341, allocations: 4 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.8341, allocations: 0 / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.8341, allocations: 3.938 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.8344, allocations: 197.6 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.8344, allocations: 0 / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.8345, allocations: 31.97 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.8345, allocations: 0 / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.8345, allocations: 0 / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.8345, allocations: 3.938 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.8345, allocations: 0 / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005086/0.8351, allocations: 239.3 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.434e-05/0.8351, allocations: 85.06 kB / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.8351, allocations: 4 kB / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.8353, allocations: 15.97 kB / 1.279 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.994e-05/0.8354, allocations: 27.92 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.8354, allocations: 3.984 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.915e-05/0.8354, allocations: 91.28 kB / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8354, allocations: 0 / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000241/0.8357, allocations: 16 kB / 1.28 GB, free: 14.61 MB / 0.9825 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.0001484/0.8358, allocations: 99.23 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004843/0.8363, allocations: 112.7 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.8363, allocations: 0 / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002219/0.8365, allocations: 59.94 kB / 1.28 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.8368, allocations: 12 kB / 1.28 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004755/0.8373, allocations: 189.2 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.8376, allocations: 0.7001 MB / 1.281 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.666e-05/0.8377, allocations: 8 kB / 1.281 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.765e-05/0.8378, allocations: 23.42 kB / 1.281 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.8378, allocations: 3.938 kB / 1.281 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of Templates: time 0.004487/0.8423, allocations: 1.61 MB / 1.282 GB, free: 11.75 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.593803645577282]