Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001581/0.001581, allocations: 112.4 kB / 17.13 MB, free: 6.008 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.001745/0.001745, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.506/1.506, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.909/2.909, allocations: 0.49 GB / 0.7923 GB, free: 1.309 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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_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_12_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.002057/0.002057, allocations: 71.88 kB / 1.15 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9995/1.002, allocations: 176.1 MB / 1.322 GB, free: 25.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002478/1.004, allocations: 0.7728 MB / 1.323 GB, free: 24.57 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001195/1.005, allocations: 0.9023 MB / 1.324 GB, free: 23.88 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.709e-05/1.005, allocations: 6.688 kB / 1.324 GB, free: 23.88 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.823e-05/1.005, allocations: 7.312 kB / 1.324 GB, free: 23.88 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.687e-05/1.005, allocations: 7.875 kB / 1.324 GB, free: 23.87 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/1.006, allocations: 42.72 kB / 1.324 GB, free: 23.84 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001155/1.006, allocations: 88.55 kB / 1.324 GB, free: 23.8 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/1.006, allocations: 16.88 kB / 1.324 GB, free: 23.8 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.583e-05/1.006, allocations: 40.19 kB / 1.324 GB, free: 23.78 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.883e-05/1.006, allocations: 51.75 kB / 1.324 GB, free: 23.75 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/1.006, allocations: 8.469 kB / 1.324 GB, free: 23.75 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.523e-05/1.006, allocations: 8.719 kB / 1.324 GB, free: 23.75 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.616e-05/1.006, allocations: 22.2 kB / 1.324 GB, free: 23.74 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.513e-05/1.006, allocations: 36.28 kB / 1.324 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001157/1.006, allocations: 83.69 kB / 1.324 GB, free: 23.68 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.006, allocations: 2.875 kB / 1.324 GB, free: 23.68 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.412e-06/1.006, allocations: 0 / 1.324 GB, free: 23.68 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.332e-06/1.006, allocations: 0 / 1.324 GB, free: 23.68 MB / 1.061 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.0005824/1.007, allocations: 400.7 kB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/1.007, allocations: 12.8 kB / 1.324 GB, free: 23.29 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.392e-05/1.007, allocations: 7.734 kB / 1.324 GB, free: 23.29 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/1.007, allocations: 181.1 kB / 1.325 GB, free: 23.08 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/1.007, allocations: 7.344 kB / 1.325 GB, free: 23.08 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/1.007, allocations: 3.344 kB / 1.325 GB, free: 23.08 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002945/1.007, allocations: 121 kB / 1.325 GB, free: 23.02 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/1.007, allocations: 0 / 1.325 GB, free: 23.02 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/1.007, allocations: 6.688 kB / 1.325 GB, free: 23.01 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/1.007, allocations: 0 / 1.325 GB, free: 23.01 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003539/1.008, allocations: 91.47 kB / 1.325 GB, free: 23 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004579/1.008, allocations: 351.2 kB / 1.325 GB, free: 22.68 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000602/1.009, allocations: 114.5 kB / 1.325 GB, free: 22.63 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/1.009, allocations: 55.7 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/1.009, allocations: 0 / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/1.009, allocations: 37.31 kB / 1.325 GB, free: 22.57 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 8.11e-07/1.009, allocations: 0 / 1.325 GB, free: 22.57 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0006391/1.01, allocations: 188.4 kB / 1.326 GB, free: 22.5 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/1.01, allocations: 51.41 kB / 1.326 GB, free: 22.44 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.856e-05/1.01, allocations: 126.8 kB / 1.326 GB, free: 22.32 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/1.01, allocations: 29.12 kB / 1.326 GB, free: 22.29 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.745e-05/1.01, allocations: 98.97 kB / 1.326 GB, free: 22.2 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/1.01, allocations: 17.55 kB / 1.326 GB, free: 22.18 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.764e-05/1.01, allocations: 26.77 kB / 1.326 GB, free: 22.16 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.474e-05/1.01, allocations: 313.7 kB / 1.326 GB, free: 21.85 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/1.01, allocations: 48.14 kB / 1.326 GB, free: 21.84 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/1.01, allocations: 54.42 kB / 1.326 GB, free: 21.82 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003348/1.011, allocations: 93.25 kB / 1.326 GB, free: 21.79 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.011, allocations: 0 / 1.326 GB, free: 21.79 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003944/1.011, allocations: 141.8 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/1.011, allocations: 5.906 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/1.011, allocations: 3.938 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/1.011, allocations: 0 / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/1.011, allocations: 23.61 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/1.011, allocations: 3.656 kB / 1.327 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/1.011, allocations: 27.3 kB / 1.327 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.649e-06/1.011, allocations: 4 kB / 1.327 GB, free: 21.71 MB / 1.061 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 7.389e-05/1.011, allocations: 118.4 kB / 1.327 GB, free: 21.59 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-05/1.011, allocations: 6.781 kB / 1.327 GB, free: 21.59 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004793/1.012, allocations: 153.9 kB / 1.327 GB, free: 21.52 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/1.012, allocations: 4 kB / 1.327 GB, free: 21.52 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/1.012, allocations: 3.219 kB / 1.327 GB, free: 21.52 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/1.012, allocations: 3.938 kB / 1.327 GB, free: 21.51 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/1.012, allocations: 194.5 kB / 1.327 GB, free: 21.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.012, allocations: 0 / 1.327 GB, free: 21.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/1.012, allocations: 27.81 kB / 1.327 GB, free: 21.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/1.012, allocations: 0 / 1.327 GB, free: 21.3 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/1.012, allocations: 0 / 1.327 GB, free: 21.3 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/1.012, allocations: 2.875 kB / 1.327 GB, free: 21.3 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/1.012, allocations: 0 / 1.327 GB, free: 21.3 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004185/1.013, allocations: 249.7 kB / 1.327 GB, free: 21.13 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.512e-05/1.013, allocations: 80.17 kB / 1.327 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/1.013, allocations: 0 / 1.327 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/1.013, allocations: 9.078 kB / 1.327 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.439e-05/1.013, allocations: 31.23 kB / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/1.013, allocations: 11.33 kB / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.964e-05/1.013, allocations: 93.44 kB / 1.327 GB, free: 20.94 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.013, allocations: 0 / 1.327 GB, free: 20.94 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002303/1.013, allocations: 18.05 kB / 1.327 GB, free: 20.93 MB / 1.061 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.0001272/1.013, allocations: 99.03 kB / 1.328 GB, free: 20.84 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004562/1.014, allocations: 107.5 kB / 1.328 GB, free: 20.82 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/1.014, allocations: 0 / 1.328 GB, free: 20.82 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002357/1.014, allocations: 57.36 kB / 1.328 GB, free: 20.81 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/1.014, allocations: 4.219 kB / 1.328 GB, free: 20.81 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004414/1.015, allocations: 203.9 kB / 1.328 GB, free: 20.62 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001335/1.015, allocations: 0.6999 MB / 1.329 GB, free: 19.92 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.087e-05/1.015, allocations: 21.38 kB / 1.329 GB, free: 19.91 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/1.015, allocations: 0 / 1.329 GB, free: 19.91 MB / 1.061 GB Notification: Performance of Templates: time 0.003686/1.019, allocations: 1.233 MB / 1.33 GB, free: 19.83 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.40529745699314]