Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.001865/0.001865, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.00227/0.00227, allocations: 213 kB / 22.99 MB, free: 4.945 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.829/2.829, allocations: 476 MB / 0.7707 GB, free: 4.734 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 67.55 kB / 1.118 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3478, allocations: 170 MB / 1.284 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002352/0.3502, allocations: 0.7487 MB / 1.285 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.3516, allocations: 0.89 MB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.4e-05/0.3517, allocations: 0 / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.574e-05/0.3517, allocations: 3.938 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.287e-05/0.3518, allocations: 11.86 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002128/0.3521, allocations: 43.89 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.3522, allocations: 83.83 kB / 1.286 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.3523, allocations: 19.98 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.3524, allocations: 39.89 kB / 1.286 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.795e-05/0.3525, allocations: 51.77 kB / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.266e-05/0.3526, allocations: 8 kB / 1.286 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.205e-05/0.3526, allocations: 8 kB / 1.286 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.176e-05/0.3526, allocations: 19.91 kB / 1.286 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.441e-05/0.3527, allocations: 27.86 kB / 1.286 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.3528, allocations: 91.59 kB / 1.286 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3528, allocations: 0 / 1.286 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.983e-06/0.3528, allocations: 0 / 1.286 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.3528, allocations: 3.938 kB / 1.286 GB, free: 9.863 MB / 0.9825 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.0007749/0.3536, allocations: 326 kB / 1.286 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.3537, allocations: 12.02 kB / 1.286 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/0.3537, allocations: 8.891 kB / 1.286 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.3539, allocations: 118.4 kB / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.3539, allocations: 8.375 kB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.3539, allocations: 4.375 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003346/0.3542, allocations: 109.5 kB / 1.286 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.3543, allocations: 0 / 1.286 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.3543, allocations: 8 kB / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3543, allocations: 0 / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004438/0.3547, allocations: 95.89 kB / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005552/0.3553, allocations: 272.3 kB / 1.287 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006488/0.3559, allocations: 114.6 kB / 1.287 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.3561, allocations: 56.81 kB / 1.287 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.3561, allocations: 0 / 1.287 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.3562, allocations: 34.5 kB / 1.287 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.3562, allocations: 0 / 1.287 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0007057/0.3569, allocations: 189.7 kB / 1.287 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.3569, allocations: 55.34 kB / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.357, allocations: 121.8 kB / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.3571, allocations: 29.7 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.791e-05/0.3571, allocations: 92.08 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.3572, allocations: 19.84 kB / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.243e-05/0.3572, allocations: 25.7 kB / 1.287 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002886/0.3575, allocations: 322.8 kB / 1.288 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.3577, allocations: 47.95 kB / 1.288 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/0.3579, allocations: 51.95 kB / 1.288 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003613/0.3583, allocations: 96.78 kB / 1.288 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3583, allocations: 0 / 1.288 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004521/0.3587, allocations: 141.5 kB / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.3587, allocations: 6.031 kB / 1.288 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3587, allocations: 0 / 1.288 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.3587, allocations: 0 / 1.288 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.3589, allocations: 23.97 kB / 1.288 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3589, allocations: 0 / 1.288 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.359, allocations: 19.91 kB / 1.288 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.3591, allocations: 7.938 kB / 1.288 GB, free: 7.324 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,min1.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.0001036/0.3592, allocations: 117.8 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.184e-05/0.3592, allocations: 3.953 kB / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005399/0.3597, allocations: 153.9 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3597, allocations: 3.984 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3597, allocations: 3.938 kB / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.3597, allocations: 4 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/0.36, allocations: 141.1 kB / 1.289 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.36, allocations: 4 kB / 1.289 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.3601, allocations: 31.91 kB / 1.289 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.3601, allocations: 0 / 1.289 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.3601, allocations: 3.938 kB / 1.289 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3601, allocations: 0 / 1.289 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3601, allocations: 0 / 1.289 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005055/0.3606, allocations: 241.2 kB / 1.289 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.497e-05/0.3607, allocations: 3.953 kB / 1.289 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.3607, allocations: 7.984 kB / 1.289 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.3608, allocations: 15.97 kB / 1.289 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.549e-05/0.3609, allocations: 23.97 kB / 1.289 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.3609, allocations: 0 / 1.289 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.169e-05/0.361, allocations: 95.7 kB / 1.289 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.361, allocations: 0 / 1.289 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002485/0.3612, allocations: 19.95 kB / 1.289 GB, free: 6.402 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 (min1.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.0001285/0.3614, allocations: 107.1 kB / 1.289 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004344/0.3618, allocations: 103.9 kB / 1.289 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3618, allocations: 0 / 1.289 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002127/0.362, allocations: 55.89 kB / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.3624, allocations: 12 kB / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006093/0.363, allocations: 196.8 kB / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.774e-05/0.363, allocations: 73.22 kB / 1.289 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.959e-05/0.3631, allocations: 19.42 kB / 1.289 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.3631, allocations: 0 / 1.289 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of Templates: time 0.0036/0.3667, allocations: 1.263 MB / 1.291 GB, free: 4.531 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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: 11.192196036688983]