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.0008681/0.0008681, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008376/0.0008376, allocations: 174.3 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8987/0.8987, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.723/1.723, allocations: 377.9 MB / 0.6228 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 0.9822 GB, free: 2.074 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.019e-05/2.242e-05, allocations: 6.281 kB / 0.9822 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001277/0.0013, allocations: 0.7524 MB / 0.9829 GB, free: 1.316 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008379/0.002138, allocations: 0.8821 MB / 0.9838 GB, free: 432 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.217e-05/0.00218, allocations: 8 kB / 0.9838 GB, free: 424 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.294e-05/0.002213, allocations: 11.81 kB / 0.9838 GB, free: 412 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.878e-05/0.002292, allocations: 15.84 kB / 0.9838 GB, free: 396 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001705/0.002462, allocations: 35.91 kB / 0.9839 GB, free: 360 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.411e-05/0.002556, allocations: 91.75 kB / 0.984 GB, free: 268 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.002665, allocations: 19.98 kB / 0.984 GB, free: 248 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 8.834e-05/0.002754, allocations: 51.88 kB / 0.984 GB, free: 196 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 7.039e-05/0.002824, allocations: 31.95 kB / 0.9841 GB, free: 164 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.811e-05/0.002852, allocations: 8 kB / 0.9841 GB, free: 156 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.196e-05/0.002864, allocations: 8 kB / 0.9841 GB, free: 148 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.408e-05/0.002888, allocations: 31.91 kB / 0.9841 GB, free: 116 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.033e-05/0.002918, allocations: 31.84 kB / 0.9841 GB, free: 84 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.00305, allocations: 87.78 kB / 0.9842 GB, free: 15.99 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.003052, allocations: 0 / 0.9842 GB, free: 15.99 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.272e-06/0.003053, allocations: 0 / 0.9842 GB, free: 15.99 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.003058, allocations: 0 / 0.9842 GB, free: 15.99 MB / 0.948 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.0004369/0.003495, allocations: 321.9 kB / 0.9845 GB, free: 15.65 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.003535, allocations: 12.03 kB / 0.9845 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.832e-05/0.003573, allocations: 12.89 kB / 0.9846 GB, free: 15.63 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.003675, allocations: 117.7 kB / 0.9847 GB, free: 15.49 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.003694, allocations: 8.375 kB / 0.9847 GB, free: 15.48 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.003707, allocations: 8.312 kB / 0.9847 GB, free: 15.47 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.003906, allocations: 102.2 kB / 0.9848 GB, free: 15.37 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.003915, allocations: 3.938 kB / 0.9848 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.003926, allocations: 4 kB / 0.9848 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.003931, allocations: 0 / 0.9848 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001946/0.004126, allocations: 107.8 kB / 0.9849 GB, free: 15.25 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003629/0.004489, allocations: 276.3 kB / 0.9852 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003526/0.004841, allocations: 110.6 kB / 0.9853 GB, free: 14.84 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.884e-05/0.00494, allocations: 52.81 kB / 0.9853 GB, free: 14.78 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.004962, allocations: 8 kB / 0.9853 GB, free: 14.77 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.557e-05/0.004977, allocations: 30.56 kB / 0.9853 GB, free: 14.73 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/0.004979, allocations: 0 / 0.9853 GB, free: 14.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0006567/0.005635, allocations: 185.4 kB / 0.9855 GB, free: 14.55 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.005665, allocations: 55.39 kB / 0.9856 GB, free: 14.48 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.506e-05/0.00574, allocations: 117.8 kB / 0.9857 GB, free: 14.36 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.005754, allocations: 33.7 kB / 0.9857 GB, free: 14.32 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.022e-05/0.005794, allocations: 96.08 kB / 0.9858 GB, free: 14.22 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.005818, allocations: 23.8 kB / 0.9858 GB, free: 14.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/0.005851, allocations: 21.7 kB / 0.9859 GB, free: 14.17 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.526e-05/0.005926, allocations: 322.8 kB / 0.9862 GB, free: 13.84 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.18e-05/0.006018, allocations: 43.95 kB / 0.9862 GB, free: 13.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.701e-05/0.006105, allocations: 47.94 kB / 0.9863 GB, free: 13.75 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.006283, allocations: 109.1 kB / 0.9864 GB, free: 13.64 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.006285, allocations: 0 / 0.9864 GB, free: 13.64 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002169/0.006502, allocations: 137.5 kB / 0.9865 GB, free: 13.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.006517, allocations: 8 kB / 0.9865 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.006522, allocations: 4 kB / 0.9865 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.006534, allocations: 0 / 0.9865 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.283e-05/0.006617, allocations: 27.97 kB / 0.9865 GB, free: 13.46 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/0.006621, allocations: 0 / 0.9865 GB, free: 13.46 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.543e-05/0.006677, allocations: 11.98 kB / 0.9865 GB, free: 13.45 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.006684, allocations: 3.984 kB / 0.9865 GB, free: 13.45 MB / 0.948 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 6.38e-05/0.006748, allocations: 117.8 kB / 0.9867 GB, free: 13.32 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.602e-05/0.006764, allocations: 15.83 kB / 0.9867 GB, free: 13.31 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002568/0.007021, allocations: 150 kB / 0.9868 GB, free: 13.16 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.007023, allocations: 0 / 0.9868 GB, free: 13.16 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.007026, allocations: 0 / 0.9868 GB, free: 13.16 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.00703, allocations: 3.984 kB / 0.9868 GB, free: 13.15 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.007137, allocations: 133.2 kB / 0.9869 GB, free: 12.99 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.007138, allocations: 0 / 0.9869 GB, free: 12.99 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.869e-05/0.007206, allocations: 27.97 kB / 0.987 GB, free: 12.96 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.007208, allocations: 0 / 0.987 GB, free: 12.96 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.00722, allocations: 15.98 kB / 0.987 GB, free: 12.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.007221, allocations: 0 / 0.987 GB, free: 12.95 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.007222, allocations: 0 / 0.987 GB, free: 12.95 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002386/0.007461, allocations: 239.3 kB / 0.9872 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.133e-05/0.007472, allocations: 11.89 kB / 0.9872 GB, free: 12.69 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.007484, allocations: 0 / 0.9872 GB, free: 12.69 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.294e-05/0.007547, allocations: 15.98 kB / 0.9872 GB, free: 12.67 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.37e-05/0.007611, allocations: 19.97 kB / 0.9873 GB, free: 12.65 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.007617, allocations: 7.984 kB / 0.9873 GB, free: 12.64 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.73e-05/0.007655, allocations: 95.7 kB / 0.9874 GB, free: 12.55 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.007655, allocations: 0 / 0.9874 GB, free: 12.55 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001499/0.007805, allocations: 12 kB / 0.9874 GB, free: 12.54 MB / 0.948 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 7.727e-05/0.007882, allocations: 99.78 kB / 0.9875 GB, free: 12.43 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002307/0.008113, allocations: 103.8 kB / 0.9876 GB, free: 12.33 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.008114, allocations: 0 / 0.9876 GB, free: 12.33 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.008216, allocations: 59.94 kB / 0.9876 GB, free: 12.27 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.008418, allocations: 7.938 kB / 0.9876 GB, free: 12.27 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003254/0.008744, allocations: 199.1 kB / 0.9878 GB, free: 12.04 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.213e-05/0.008796, allocations: 83.52 kB / 0.9879 GB, free: 11.93 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.106e-05/0.008847, allocations: 24.42 kB / 0.9879 GB, free: 11.91 MB / 0.948 GB Notification: Performance of SimCode: time 3.61e-07/0.008847, allocations: 0 / 0.9879 GB, free: 11.91 MB / 0.948 GB Notification: Performance of Templates: time 0.001888/0.01074, allocations: 1.266 MB / 0.9892 GB, free: 10.65 MB / 0.948 GB " [Timeout remaining time 300] 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/jenkins/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: 6.668830214068294]