Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.001826/0.001826, allocations: 108.8 kB / 16.46 MB, free: 6.453 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.002254/0.002254, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.567/1.567, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.279/3.279, allocations: 0.4899 GB / 0.7915 GB, free: 33.18 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.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") [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.002187/0.002187, allocations: 64.06 kB / 1.149 GB, free: 26.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.43/0.4322, allocations: 176.1 MB / 1.321 GB, free: 2.82 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002159/0.4343, allocations: 0.711 MB / 1.322 GB, free: 2.113 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.4355, allocations: 0.8631 MB / 1.323 GB, free: 1.238 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.757e-05/0.4356, allocations: 0 / 1.323 GB, free: 1.238 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.354e-05/0.4356, allocations: 3.938 kB / 1.323 GB, free: 1.234 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001205/0.4357, allocations: 15.92 kB / 1.323 GB, free: 1.219 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.4359, allocations: 23.91 kB / 1.323 GB, free: 1.195 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.436, allocations: 43.84 kB / 1.323 GB, free: 1.152 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.4361, allocations: 11.94 kB / 1.323 GB, free: 1.141 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.924e-05/0.4362, allocations: 23.92 kB / 1.323 GB, free: 1.117 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.515e-05/0.4363, allocations: 31.89 kB / 1.323 GB, free: 1.086 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.4363, allocations: 4 kB / 1.323 GB, free: 1.082 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.262e-05/0.4364, allocations: 4 kB / 1.323 GB, free: 1.078 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.405e-05/0.4364, allocations: 8 kB / 1.323 GB, free: 1.07 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.888e-05/0.4364, allocations: 19.86 kB / 1.323 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.4366, allocations: 55.78 kB / 1.323 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.4366, allocations: 0 / 1.323 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4366, allocations: 0 / 1.323 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.4366, allocations: 0 / 1.323 GB, free: 0.9961 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006124/0.4372, allocations: 359.3 kB / 1.323 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.4372, allocations: 11.98 kB / 1.323 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.4373, allocations: 4.875 kB / 1.323 GB, free: 0.582 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.4374, allocations: 176.2 kB / 1.324 GB, free: 380 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.4375, allocations: 8.375 kB / 1.324 GB, free: 372 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.4375, allocations: 384 / 1.324 GB, free: 372 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.4377, allocations: 73.58 kB / 1.324 GB, free: 292 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.4377, allocations: 0 / 1.324 GB, free: 292 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.4377, allocations: 0 / 1.324 GB, free: 292 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.4377, allocations: 4 kB / 1.324 GB, free: 288 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002316/0.4379, allocations: 59.92 kB / 1.324 GB, free: 228 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005198/0.4385, allocations: 284.8 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.4387, allocations: 62.53 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.4388, allocations: 36.92 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.4388, allocations: 0 / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.4389, allocations: 30.56 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.4389, allocations: 0 / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004552/0.4393, allocations: 113.5 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.713e-05/0.4394, allocations: 51.41 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.4395, allocations: 113.8 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.667e-05/0.4395, allocations: 25.7 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.038e-05/0.4396, allocations: 88.14 kB / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.4396, allocations: 7.906 kB / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.546e-05/0.4396, allocations: 21.7 kB / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.4398, allocations: 318.8 kB / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.4399, allocations: 23.97 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.708e-05/0.44, allocations: 23.98 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002012/0.4402, allocations: 52.81 kB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4402, allocations: 0 / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000267/0.4405, allocations: 85.58 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.4405, allocations: 11.94 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4405, allocations: 0 / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.4405, allocations: 4 kB / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.4406, allocations: 11.98 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.4406, allocations: 0 / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.705e-05/0.4407, allocations: 23.81 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.4407, allocations: 0 / 1.325 GB, free: 14.73 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: 2 (reaToInt.y,intLesEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001347/0.4409, allocations: 113.8 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.4409, allocations: 0 / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.836e-05/0.4409, allocations: 11.91 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.4409, allocations: 4 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.4409, allocations: 3.984 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.4409, allocations: 0 / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/0.4412, allocations: 177.6 kB / 1.325 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.4412, allocations: 0 / 1.325 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.27e-05/0.4413, allocations: 15.92 kB / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.4413, allocations: 0 / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.4413, allocations: 3.984 kB / 1.325 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4413, allocations: 0 / 1.325 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4413, allocations: 0 / 1.325 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003969/0.4417, allocations: 195.7 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.581e-05/0.4418, allocations: 81.11 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.4418, allocations: 0 / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.4419, allocations: 7.984 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.001e-05/0.442, allocations: 11.98 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.442, allocations: 0 / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.684e-05/0.442, allocations: 91.28 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.1e-08/0.442, allocations: 0 / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002296/0.4423, allocations: 7.938 kB / 1.326 GB, free: 13.91 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: 2 (intLesEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001466/0.4424, allocations: 107.2 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002879/0.4427, allocations: 55.95 kB / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4427, allocations: 0 / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.4428, allocations: 31.97 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.4431, allocations: 4 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004451/0.4436, allocations: 141.4 kB / 1.326 GB, free: 13.54 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.4439, allocations: 0.6807 MB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.579e-05/0.444, allocations: 8 kB / 1.327 GB, free: 12.83 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.835e-05/0.444, allocations: 15.42 kB / 1.327 GB, free: 12.81 MB / 1.029 GB Notification: Performance of SimCode: time 5.41e-07/0.444, allocations: 0 / 1.327 GB, free: 12.81 MB / 1.029 GB Notification: Performance of Templates: time 0.003713/0.4477, allocations: 0.8792 MB / 1.328 GB, free: 11.94 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.331011541653425]