Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 115.2 kB / 17.13 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 193.2 kB / 20.08 MB, free: 2.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.551/2.551, allocations: 443.5 MB / 0.7293 GB, free: 14.48 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 75.86 kB / 1.057 GB, free: 1.895 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.299, allocations: 160.7 MB / 1.214 GB, free: 0.8672 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002146/0.3011, allocations: 0.7856 MB / 1.215 GB, free: 76 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.3023, allocations: 0.8741 MB / 1.216 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.96e-05/0.3024, allocations: 0 / 1.216 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.554e-05/0.3024, allocations: 7.922 kB / 1.216 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.298e-05/0.3025, allocations: 7.875 kB / 1.216 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001791/0.3027, allocations: 43.94 kB / 1.216 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.3028, allocations: 87.77 kB / 1.216 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.3029, allocations: 19.98 kB / 1.216 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.705e-05/0.303, allocations: 35.91 kB / 1.216 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.192e-05/0.3031, allocations: 47.83 kB / 1.216 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.022e-05/0.3032, allocations: 8 kB / 1.216 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.926e-05/0.3032, allocations: 8 kB / 1.216 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.464e-05/0.3032, allocations: 27.89 kB / 1.216 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.325e-05/0.3033, allocations: 39.73 kB / 1.216 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001572/0.3034, allocations: 87.66 kB / 1.216 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3034, allocations: 0 / 1.216 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3034, allocations: 0 / 1.216 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.3034, allocations: 3.938 kB / 1.216 GB, free: 14.77 MB / 0.9669 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.0007043/0.3041, allocations: 399.1 kB / 1.216 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.3042, allocations: 8.031 kB / 1.216 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.746e-05/0.3042, allocations: 12.89 kB / 1.217 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.3044, allocations: 168.3 kB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.3044, allocations: 4.375 kB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.3044, allocations: 12.31 kB / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003325/0.3048, allocations: 105.5 kB / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.3048, allocations: 0 / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.3048, allocations: 4 kB / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.3048, allocations: 3.984 kB / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003808/0.3052, allocations: 95.91 kB / 1.217 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005783/0.3058, allocations: 348.6 kB / 1.217 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006404/0.3064, allocations: 114.6 kB / 1.217 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.3066, allocations: 52.81 kB / 1.217 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.3066, allocations: 4 kB / 1.217 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.3067, allocations: 34.56 kB / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.3067, allocations: 3.938 kB / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0007135/0.3074, allocations: 189.4 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.3074, allocations: 51.41 kB / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.3075, allocations: 129.7 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.3076, allocations: 29.7 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.085e-05/0.3076, allocations: 96.08 kB / 1.218 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.3076, allocations: 19.8 kB / 1.218 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-05/0.3077, allocations: 25.7 kB / 1.218 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3079, allocations: 322.8 kB / 1.218 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.3081, allocations: 47.89 kB / 1.218 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.3082, allocations: 52.27 kB / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003698/0.3086, allocations: 100.9 kB / 1.218 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3086, allocations: 0 / 1.218 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004368/0.309, allocations: 141.5 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3091, allocations: 4 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.3091, allocations: 0 / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.3091, allocations: 0 / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.3093, allocations: 27.97 kB / 1.219 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.3093, allocations: 4 kB / 1.219 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.3094, allocations: 11.92 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.3094, allocations: 7.984 kB / 1.219 GB, free: 11.97 MB / 0.9669 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 0.0001165/0.3095, allocations: 121.8 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.933e-05/0.3096, allocations: 7.953 kB / 1.219 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005157/0.3101, allocations: 142 kB / 1.219 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3101, allocations: 0 / 1.219 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.3101, allocations: 0 / 1.219 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.3101, allocations: 15.92 kB / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002804/0.3104, allocations: 193.6 kB / 1.219 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3104, allocations: 0 / 1.219 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.3105, allocations: 27.97 kB / 1.219 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3105, allocations: 0 / 1.219 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.3106, allocations: 7.984 kB / 1.219 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3106, allocations: 0 / 1.219 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3106, allocations: 0 / 1.219 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005361/0.3111, allocations: 243.3 kB / 1.219 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-05/0.3112, allocations: 85 kB / 1.219 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.3112, allocations: 11.98 kB / 1.219 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.3113, allocations: 7.984 kB / 1.219 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.407e-05/0.3114, allocations: 27.91 kB / 1.219 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.3114, allocations: 8 kB / 1.219 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.94e-05/0.3115, allocations: 91.27 kB / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3115, allocations: 0 / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000256/0.3118, allocations: 23.88 kB / 1.22 GB, free: 10.88 MB / 0.9669 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.00016/0.3119, allocations: 99.25 kB / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004906/0.3124, allocations: 107.8 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3124, allocations: 0 / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002175/0.3126, allocations: 55.95 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.313, allocations: 11.98 kB / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005884/0.3136, allocations: 203.8 kB / 1.22 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004307/0.314, allocations: 0.6963 MB / 1.221 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.241e-05/0.3141, allocations: 15.42 kB / 1.221 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of SimCode: time 8.51e-07/0.3141, allocations: 0 / 1.221 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of Templates: time 0.003711/0.3178, allocations: 1.238 MB / 1.222 GB, free: 8.387 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.126070073107257]