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.001874/0.001874, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002152/0.002152, allocations: 162.4 kB / 23.02 MB, free: 4.949 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.518/1.518, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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.789/2.789, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 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.002217/0.002217, allocations: 63.89 kB / 0.982 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.132/1.134, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002037/1.136, allocations: 0.7452 MB / 1.155 GB, free: 32.86 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0008825/1.137, allocations: 0.8907 MB / 1.156 GB, free: 32.18 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.416e-05/1.137, allocations: 0 / 1.156 GB, free: 32.18 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.113e-05/1.137, allocations: 7.453 kB / 1.156 GB, free: 32.18 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 9.693e-05/1.138, allocations: 18.73 kB / 1.156 GB, free: 32.16 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/1.138, allocations: 39.81 kB / 1.156 GB, free: 32.14 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/1.138, allocations: 85.95 kB / 1.156 GB, free: 32.11 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/1.138, allocations: 20.64 kB / 1.156 GB, free: 32.1 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 7.6e-05/1.138, allocations: 39.38 kB / 1.156 GB, free: 32.08 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 8e-05/1.138, allocations: 45.34 kB / 1.156 GB, free: 32.06 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/1.138, allocations: 16.31 kB / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.715e-05/1.138, allocations: 8.219 kB / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.611e-05/1.138, allocations: 17.91 kB / 1.156 GB, free: 32.04 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.489e-05/1.138, allocations: 35.89 kB / 1.156 GB, free: 32.02 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/1.138, allocations: 88.3 kB / 1.156 GB, free: 31.98 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.138, allocations: 0 / 1.156 GB, free: 31.98 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.453e-06/1.138, allocations: 0 / 1.156 GB, free: 31.98 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.292e-06/1.138, allocations: 0 / 1.156 GB, free: 31.98 MB / 1.076 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.0005769/1.139, allocations: 320.1 kB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/1.139, allocations: 12.75 kB / 1.156 GB, free: 31.69 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.965e-05/1.139, allocations: 11.7 kB / 1.156 GB, free: 31.68 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/1.139, allocations: 120 kB / 1.156 GB, free: 31.55 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/1.139, allocations: 7.281 kB / 1.156 GB, free: 31.54 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/1.139, allocations: 10.09 kB / 1.156 GB, free: 31.54 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/1.139, allocations: 110.7 kB / 1.156 GB, free: 31.48 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/1.139, allocations: 0 / 1.156 GB, free: 31.48 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/1.139, allocations: 0 / 1.156 GB, free: 31.48 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/1.139, allocations: 2.906 kB / 1.156 GB, free: 31.48 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00034/1.14, allocations: 97.62 kB / 1.157 GB, free: 31.46 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004503/1.14, allocations: 273.3 kB / 1.157 GB, free: 31.22 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005889/1.141, allocations: 112.7 kB / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/1.141, allocations: 54.81 kB / 1.157 GB, free: 31.16 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/1.141, allocations: 9.672 kB / 1.157 GB, free: 31.15 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/1.141, allocations: 33.28 kB / 1.157 GB, free: 31.11 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/1.141, allocations: 0 / 1.157 GB, free: 31.11 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0006266/1.142, allocations: 179.2 kB / 1.157 GB, free: 31.05 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/1.142, allocations: 58.38 kB / 1.157 GB, free: 30.98 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.725e-05/1.142, allocations: 126.8 kB / 1.157 GB, free: 30.87 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/1.142, allocations: 25.7 kB / 1.157 GB, free: 30.84 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.914e-05/1.142, allocations: 101 kB / 1.158 GB, free: 30.74 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/1.142, allocations: 11.91 kB / 1.158 GB, free: 30.73 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/1.142, allocations: 25.91 kB / 1.158 GB, free: 30.71 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.389e-05/1.142, allocations: 322.2 kB / 1.158 GB, free: 30.39 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/1.142, allocations: 46.92 kB / 1.158 GB, free: 30.38 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/1.142, allocations: 51.2 kB / 1.158 GB, free: 30.37 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003229/1.143, allocations: 100.4 kB / 1.158 GB, free: 30.34 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.143, allocations: 0 / 1.158 GB, free: 30.34 MB / 1.076 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003664/1.143, allocations: 135.7 kB / 1.158 GB, free: 30.28 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/1.143, allocations: 9.781 kB / 1.158 GB, free: 30.28 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/1.143, allocations: 0 / 1.158 GB, free: 30.28 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/1.143, allocations: 0 / 1.158 GB, free: 30.28 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/1.143, allocations: 30.69 kB / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/1.143, allocations: 3.938 kB / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/1.143, allocations: 19.78 kB / 1.158 GB, free: 30.26 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/1.143, allocations: 7.312 kB / 1.158 GB, free: 30.26 MB / 1.076 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.757e-05/1.143, allocations: 121.4 kB / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/1.143, allocations: 6.75 kB / 1.158 GB, free: 30.13 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004325/1.144, allocations: 144.5 kB / 1.159 GB, free: 30.07 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/1.144, allocations: 3.422 kB / 1.159 GB, free: 30.07 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/1.144, allocations: 0 / 1.159 GB, free: 30.07 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/1.144, allocations: 0 / 1.159 GB, free: 30.07 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/1.144, allocations: 142 kB / 1.159 GB, free: 29.93 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/1.144, allocations: 4 kB / 1.159 GB, free: 29.92 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/1.144, allocations: 23.77 kB / 1.159 GB, free: 29.92 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/1.144, allocations: 0 / 1.159 GB, free: 29.92 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/1.144, allocations: 11.42 kB / 1.159 GB, free: 29.91 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/1.144, allocations: 2.656 kB / 1.159 GB, free: 29.91 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.144, allocations: 3.938 kB / 1.159 GB, free: 29.91 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003985/1.145, allocations: 233.6 kB / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.184e-05/1.145, allocations: 9.562 kB / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/1.145, allocations: 0 / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/1.145, allocations: 16.17 kB / 1.159 GB, free: 29.74 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.784e-05/1.145, allocations: 23.16 kB / 1.159 GB, free: 29.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.577e-06/1.145, allocations: 2.719 kB / 1.159 GB, free: 29.73 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.543e-05/1.145, allocations: 91.08 kB / 1.159 GB, free: 29.66 MB / 1.076 GB Notification: Performance of sort global known variables: time 7.1e-08/1.145, allocations: 0 / 1.159 GB, free: 29.66 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002272/1.145, allocations: 19.89 kB / 1.159 GB, free: 29.65 MB / 1.076 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 8.493e-05/1.145, allocations: 105 kB / 1.159 GB, free: 29.55 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004066/1.146, allocations: 106.2 kB / 1.159 GB, free: 29.53 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.146, allocations: 2.656 kB / 1.159 GB, free: 29.53 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001871/1.146, allocations: 57.11 kB / 1.159 GB, free: 29.52 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/1.146, allocations: 22.78 kB / 1.159 GB, free: 29.51 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003701/1.146, allocations: 172.9 kB / 1.16 GB, free: 29.36 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.03e-05/1.146, allocations: 77.5 kB / 1.16 GB, free: 29.29 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.768e-05/1.146, allocations: 16.95 kB / 1.16 GB, free: 29.28 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.701e-05/1.147, allocations: 24.17 kB / 1.16 GB, free: 29.27 MB / 1.076 GB Notification: Performance of SimCode: time 3.1e-07/1.147, allocations: 0 / 1.16 GB, free: 29.27 MB / 1.076 GB Notification: Performance of Templates: time 0.004302/1.151, allocations: 1.687 MB / 1.161 GB, free: 29.12 MB / 1.076 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 -s ida -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: 9.279325604904443]