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.001574/0.001574, allocations: 108.2 kB / 16.46 MB, free: 6.512 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.001447/0.001447, allocations: 208.3 kB / 19.43 MB, free: 3.648 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.591/1.591, allocations: 230.6 MB / 252.8 MB, free: 8.945 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.416/3.416, allocations: 0.4899 GB / 0.7915 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002171/0.002171, allocations: 80.05 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.452/0.4541, allocations: 176.1 MB / 1.321 GB, free: 2.789 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002275/0.4564, allocations: 0.7747 MB / 1.322 GB, free: 2.016 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.4577, allocations: 0.9015 MB / 1.323 GB, free: 1.102 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.678e-05/0.4577, allocations: 0 / 1.323 GB, free: 1.102 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.736e-05/0.4578, allocations: 7.922 kB / 1.323 GB, free: 1.094 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.4579, allocations: 11.88 kB / 1.323 GB, free: 1.082 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001991/0.4581, allocations: 35.95 kB / 1.323 GB, free: 1.047 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.4582, allocations: 87.75 kB / 1.323 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.4584, allocations: 23.98 kB / 1.323 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.621e-05/0.4585, allocations: 31.92 kB / 1.323 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.4586, allocations: 51.81 kB / 1.323 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.422e-05/0.4586, allocations: 8 kB / 1.323 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.243e-05/0.4586, allocations: 8 kB / 1.323 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.138e-05/0.4587, allocations: 23.91 kB / 1.323 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.033e-05/0.4587, allocations: 43.72 kB / 1.323 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.4589, allocations: 83.66 kB / 1.323 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.4589, allocations: 0 / 1.323 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4589, allocations: 0 / 1.323 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.4589, allocations: 0 / 1.323 GB, free: 0.6914 MB / 1.014 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.0007601/0.4596, allocations: 404.8 kB / 1.324 GB, free: 256 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.4597, allocations: 15.98 kB / 1.324 GB, free: 240 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.786e-05/0.4597, allocations: 8.891 kB / 1.324 GB, free: 232 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.4599, allocations: 176.2 kB / 1.324 GB, free: 16 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.46, allocations: 8.375 kB / 1.324 GB, free: 8 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.27e-05/0.46, allocations: 12.34 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003416/0.4603, allocations: 105.5 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.4603, allocations: 0 / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.4604, allocations: 11.98 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.4604, allocations: 0 / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003935/0.4608, allocations: 91.91 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006089/0.4614, allocations: 356.6 kB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007016/0.4621, allocations: 114.6 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.4623, allocations: 48.81 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.4623, allocations: 7.938 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.4623, allocations: 34.56 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.4623, allocations: 0 / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0007459/0.4631, allocations: 193.4 kB / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.4631, allocations: 51.41 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.4632, allocations: 125.8 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.4633, allocations: 29.7 kB / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.282e-05/0.4633, allocations: 96.08 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.4634, allocations: 19.8 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.529e-05/0.4634, allocations: 25.7 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.4636, allocations: 318.8 kB / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/0.4638, allocations: 43.95 kB / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.4639, allocations: 47.95 kB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003775/0.4643, allocations: 100.7 kB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4643, allocations: 0 / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004418/0.4648, allocations: 133.6 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.4648, allocations: 8 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4648, allocations: 0 / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.4648, allocations: 3.938 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.465, allocations: 23.97 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.465, allocations: 0 / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.4651, allocations: 19.88 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.4651, allocations: 11.98 kB / 1.326 GB, free: 13.88 MB / 1.029 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.0001076/0.4652, allocations: 117.8 kB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.4653, allocations: 4 kB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005423/0.4658, allocations: 153.9 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.4658, allocations: 0 / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4658, allocations: 4 kB / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.4658, allocations: 7.922 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/0.4661, allocations: 193.6 kB / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4661, allocations: 0 / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.4662, allocations: 23.97 kB / 1.326 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.4662, allocations: 0 / 1.326 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.4662, allocations: 3.984 kB / 1.326 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4663, allocations: 0 / 1.326 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4663, allocations: 0 / 1.326 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005044/0.4668, allocations: 247.3 kB / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.087e-05/0.4668, allocations: 85.05 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.4668, allocations: 0 / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.467, allocations: 15.98 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.173e-05/0.4671, allocations: 31.91 kB / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-06/0.4671, allocations: 0 / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.071e-05/0.4672, allocations: 103.2 kB / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4672, allocations: 0 / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002409/0.4674, allocations: 15.95 kB / 1.327 GB, free: 12.79 MB / 1.029 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.0001365/0.4675, allocations: 95.25 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004819/0.468, allocations: 112.5 kB / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.468, allocations: 0 / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002238/0.4682, allocations: 63.94 kB / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.4686, allocations: 4 kB / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004762/0.469, allocations: 177.4 kB / 1.327 GB, free: 12.3 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.4694, allocations: 0.7001 MB / 1.328 GB, free: 11.58 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.081e-05/0.4694, allocations: 11.98 kB / 1.328 GB, free: 11.57 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.854e-05/0.4695, allocations: 23.42 kB / 1.328 GB, free: 11.54 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.4695, allocations: 0 / 1.328 GB, free: 11.54 MB / 1.029 GB Notification: Performance of Templates: time 0.004642/0.4742, allocations: 1.581 MB / 1.329 GB, free: 9.969 MB / 1.029 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: 9.702914980240166]