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.001778/0.001778, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.00222/0.00222, allocations: 213.3 kB / 23 MB, free: 4.934 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.587/1.587, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.449/3.449, allocations: 0.49 GB / 0.7959 GB, free: 35.54 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.002109/0.002109, allocations: 66.11 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4294/0.4315, allocations: 176.1 MB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002275/0.4338, allocations: 0.7578 MB / 1.328 GB, free: 276 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001318/0.4351, allocations: 0.8899 MB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.008e-05/0.4351, allocations: 8 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.387e-05/0.4352, allocations: 7.875 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.838e-05/0.4353, allocations: 7.875 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.4355, allocations: 39.94 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.4356, allocations: 87.77 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.4358, allocations: 27.97 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.4359, allocations: 35.91 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.749e-05/0.436, allocations: 47.81 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.941e-05/0.436, allocations: 8 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.877e-05/0.436, allocations: 8 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.333e-05/0.4361, allocations: 27.92 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.799e-05/0.4361, allocations: 27.86 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.4363, allocations: 87.61 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.4363, allocations: 0 / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.724e-06/0.4363, allocations: 3.938 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.4363, allocations: 0 / 1.329 GB, free: 14.95 MB / 1.029 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.0007253/0.437, allocations: 318 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.4371, allocations: 12.03 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.807e-05/0.4371, allocations: 8.891 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.4372, allocations: 130.4 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.4373, allocations: 4.375 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.4373, allocations: 8.375 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003358/0.4376, allocations: 101.5 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.4376, allocations: 4 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.4376, allocations: 0 / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.4376, allocations: 0 / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003904/0.438, allocations: 107.8 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005505/0.4386, allocations: 264.4 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006706/0.4393, allocations: 114.5 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.4395, allocations: 52.81 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.269e-05/0.4395, allocations: 11.98 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.4395, allocations: 30.56 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.903e-06/0.4395, allocations: 0 / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0006929/0.4402, allocations: 181.5 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.4403, allocations: 55.34 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.4404, allocations: 117.8 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.4404, allocations: 29.7 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.04e-05/0.4405, allocations: 108 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.4405, allocations: 19.84 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.436e-05/0.4406, allocations: 21.7 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.4407, allocations: 322.8 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.4409, allocations: 51.95 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.4411, allocations: 43.95 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003444/0.4414, allocations: 92.78 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.4414, allocations: 0 / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004247/0.4418, allocations: 145.5 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.4419, allocations: 9.719 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.4419, allocations: 4 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.4419, allocations: 0 / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.4421, allocations: 23.97 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.4421, allocations: 0 / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.4422, allocations: 19.94 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.4422, allocations: 3.984 kB / 1.331 GB, free: 12.41 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.0001262/0.4424, allocations: 117.8 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.556e-05/0.4424, allocations: 7.984 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005021/0.4429, allocations: 154.4 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4429, allocations: 0 / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.4429, allocations: 3.984 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.69e-05/0.4429, allocations: 7.891 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.4429, allocations: 7.938 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.4431, allocations: 11.98 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.627e-05/0.4432, allocations: 27.97 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005627/0.4437, allocations: 228.9 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005272/0.4443, allocations: 314.6 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002041/0.4445, allocations: 63.88 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.556e-05/0.4445, allocations: 99.64 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of Backend: time 4.1e-07/0.4445, allocations: 0 / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005536/0.4451, allocations: 130.4 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of SimCode: time 0.000701/0.4458, allocations: 0.6068 MB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of Templates: time 0.005206/0.451, allocations: 1.985 MB / 1.335 GB, free: 8.598 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/jenkins1/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.685382634001144]