Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.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.001347/0.001347, allocations: 109.7 kB / 19.7 MB, free: 2.266 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.001513/0.001513, allocations: 218.3 kB / 23.01 MB, free: 5.125 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.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.722/2.722, allocations: 476.8 MB / 0.7714 GB, free: 4.277 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.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max") [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.002101/0.002101, allocations: 64.81 kB / 1.119 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3326, allocations: 170 MB / 1.285 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002021/0.3346, allocations: 0.712 MB / 1.285 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.3357, allocations: 0.8393 MB / 1.286 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.595e-05/0.3357, allocations: 0 / 1.286 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.291e-05/0.3357, allocations: 3.938 kB / 1.286 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.409e-05/0.3358, allocations: 7.938 kB / 1.286 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001045/0.3359, allocations: 19.97 kB / 1.286 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.628e-05/0.336, allocations: 43.91 kB / 1.286 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.505e-05/0.3361, allocations: 4 kB / 1.286 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.117e-05/0.3362, allocations: 23.92 kB / 1.286 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.539e-05/0.3362, allocations: 19.91 kB / 1.286 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.3363, allocations: 4 kB / 1.286 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.25e-05/0.3363, allocations: 4 kB / 1.286 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.923e-05/0.3363, allocations: 7.938 kB / 1.286 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.786e-05/0.3363, allocations: 19.88 kB / 1.286 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.3364, allocations: 47.78 kB / 1.286 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3364, allocations: 0 / 1.286 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3364, allocations: 8 kB / 1.286 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.779e-06/0.3364, allocations: 0 / 1.286 GB, free: 9.438 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005488/0.337, allocations: 286.2 kB / 1.287 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.337, allocations: 8.031 kB / 1.287 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.826e-05/0.3371, allocations: 0.9375 kB / 1.287 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.3372, allocations: 114.4 kB / 1.287 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.3372, allocations: 4.375 kB / 1.287 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.3372, allocations: 4.375 kB / 1.287 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002703/0.3375, allocations: 74.2 kB / 1.287 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.3375, allocations: 192 / 1.287 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.3375, allocations: 7.938 kB / 1.287 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3375, allocations: 3.938 kB / 1.287 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002849/0.3378, allocations: 67.86 kB / 1.287 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004141/0.3382, allocations: 232.1 kB / 1.287 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.3384, allocations: 62.45 kB / 1.287 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/0.3386, allocations: 40.91 kB / 1.287 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.3386, allocations: 4 kB / 1.287 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/0.3387, allocations: 34.5 kB / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.3387, allocations: 0 / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005641/0.3392, allocations: 129.5 kB / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.3393, allocations: 55.41 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.3394, allocations: 105.8 kB / 1.288 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.3394, allocations: 25.7 kB / 1.288 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.18e-05/0.3395, allocations: 92.12 kB / 1.288 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.3395, allocations: 3.953 kB / 1.288 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.223e-05/0.3396, allocations: 17.72 kB / 1.288 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3397, allocations: 314.8 kB / 1.288 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.3399, allocations: 39.91 kB / 1.288 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.34, allocations: 31.91 kB / 1.288 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002762/0.3403, allocations: 68.78 kB / 1.288 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.3403, allocations: 3.938 kB / 1.288 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000318/0.3406, allocations: 105.6 kB / 1.288 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3406, allocations: 4 kB / 1.288 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3406, allocations: 0 / 1.288 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.3406, allocations: 0 / 1.288 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.3408, allocations: 15.98 kB / 1.288 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3408, allocations: 0 / 1.288 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.72e-05/0.3409, allocations: 19.98 kB / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.3409, allocations: 0 / 1.288 GB, free: 7.312 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.181e-05/0.341, allocations: 113.7 kB / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.341, allocations: 11.94 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003705/0.3414, allocations: 105.6 kB / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3414, allocations: 4 kB / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3414, allocations: 0 / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3414, allocations: 0 / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.3416, allocations: 148.6 kB / 1.289 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3416, allocations: 0 / 1.289 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.92e-05/0.3417, allocations: 19.92 kB / 1.289 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.3417, allocations: 3.984 kB / 1.289 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.3417, allocations: 0 / 1.289 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3417, allocations: 0 / 1.289 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.3417, allocations: 4 kB / 1.289 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004013/0.3421, allocations: 203.7 kB / 1.289 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.39e-05/0.3421, allocations: 3.953 kB / 1.289 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.3421, allocations: 0 / 1.289 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.3422, allocations: 15.97 kB / 1.289 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.3423, allocations: 8.031 kB / 1.289 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.3423, allocations: 8 kB / 1.289 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.028e-05/0.3423, allocations: 87.56 kB / 1.289 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3423, allocations: 0 / 1.289 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002263/0.3425, allocations: 12 kB / 1.289 GB, free: 6.5 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001365/0.3427, allocations: 91.25 kB / 1.289 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003601/0.343, allocations: 75.86 kB / 1.289 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.343, allocations: 0 / 1.289 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.3432, allocations: 35.95 kB / 1.289 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.3435, allocations: 7.938 kB / 1.289 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003303/0.3438, allocations: 147.3 kB / 1.289 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.3442, allocations: 0.6846 MB / 1.29 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.049e-05/0.3443, allocations: 11.44 kB / 1.29 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3443, allocations: 0 / 1.29 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of Templates: time 0.002654/0.3469, allocations: 0.7373 MB / 1.291 GB, free: 4.656 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.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.92580301000271]