Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009523/0.0009523, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.0009954/0.0009954, allocations: 165.9 kB / 24.87 MB, free: 9.27 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.9192/0.9192, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.891/1.891, allocations: 359 MB / 0.6063 GB, free: 10.87 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.165e-05, allocations: 6.25 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001277/0.001298, allocations: 0.7779 MB / 0.7891 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008152/0.002113, allocations: 0.9065 MB / 0.79 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.167e-05/0.002155, allocations: 0 / 0.79 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.786e-05/0.002183, allocations: 4.844 kB / 0.79 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.039e-05/0.002263, allocations: 19.81 kB / 0.79 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001491/0.002412, allocations: 45.28 kB / 0.79 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.479e-05/0.002497, allocations: 79.81 kB / 0.7901 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.93e-05/0.002586, allocations: 23.92 kB / 0.7901 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.47e-05/0.002671, allocations: 52.95 kB / 0.7902 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.505e-05/0.002736, allocations: 39.89 kB / 0.7902 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.002757, allocations: 8 kB / 0.7902 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.21e-05/0.002769, allocations: 9.562 kB / 0.7902 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.508e-05/0.002794, allocations: 23.89 kB / 0.7903 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.605e-05/0.00282, allocations: 23.92 kB / 0.7903 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.479e-05/0.002915, allocations: 67.72 kB / 0.7904 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.002917, allocations: 2.094 kB / 0.7904 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.51e-07/0.002917, allocations: 0 / 0.7904 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.002922, allocations: 0 / 0.7904 GB, free: 10.13 MB / 0.7448 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.0003525/0.003274, allocations: 408.4 kB / 0.7907 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.00331, allocations: 8.031 kB / 0.7908 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.003343, allocations: 15.02 kB / 0.7908 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.709e-05/0.00342, allocations: 120.5 kB / 0.7909 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.00344, allocations: 8.375 kB / 0.7909 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.00345, allocations: 4.375 kB / 0.7909 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.003592, allocations: 90.89 kB / 0.791 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.003599, allocations: 5.5 kB / 0.791 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.003607, allocations: 0 / 0.791 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.003613, allocations: 7.984 kB / 0.791 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.737e-05/0.00366, allocations: 20.94 kB / 0.791 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002989/0.003959, allocations: 308.1 kB / 0.7913 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.004186, allocations: 76.94 kB / 0.7914 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.71e-05/0.004214, allocations: 15.69 kB / 0.7914 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.004228, allocations: 2.5 kB / 0.7914 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.004251, allocations: 49.25 kB / 0.7914 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.004252, allocations: 0 / 0.7914 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001624/0.004415, allocations: 73.67 kB / 0.7915 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.393e-05/0.004438, allocations: 51.41 kB / 0.7916 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.564e-05/0.004514, allocations: 185.8 kB / 0.7917 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.004525, allocations: 26.42 kB / 0.7918 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.207e-05/0.004567, allocations: 139.4 kB / 0.7919 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.004588, allocations: 19.8 kB / 0.7919 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.004623, allocations: 33 kB / 0.7919 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.004723, allocations: 496.1 kB / 0.7924 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.366e-05/0.004747, allocations: 11.98 kB / 0.7924 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.203e-05/0.004769, allocations: 11.98 kB / 0.7924 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.579e-05/0.004824, allocations: 40.2 kB / 0.7925 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.004826, allocations: 1.125 kB / 0.7925 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.387e-05/0.00492, allocations: 69.62 kB / 0.7926 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.004932, allocations: 9.156 kB / 0.7926 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.004936, allocations: 0 / 0.7926 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.534e-06/0.004943, allocations: 0 / 0.7926 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.943e-05/0.005013, allocations: 17.36 kB / 0.7926 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-06/0.005015, allocations: 0.5469 kB / 0.7926 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.746e-05/0.005052, allocations: 11.98 kB / 0.7926 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.005059, allocations: 5.75 kB / 0.7926 GB, free: 7.656 MB / 0.7448 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/0.005127, allocations: 168.5 kB / 0.7928 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.005149, allocations: 7.953 kB / 0.7928 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000124/0.005274, allocations: 87.33 kB / 0.7928 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.005275, allocations: 0 / 0.7928 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.005277, allocations: 0 / 0.7928 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.00528, allocations: 0.8438 kB / 0.7928 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.005384, allocations: 117.2 kB / 0.793 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.005385, allocations: 4.844 kB / 0.793 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.694e-05/0.005442, allocations: 31.91 kB / 0.793 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.005443, allocations: 5.469 kB / 0.793 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.00545, allocations: 0 / 0.793 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.00545, allocations: 0 / 0.793 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.005452, allocations: 0 / 0.793 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.005573, allocations: 217.1 kB / 0.7932 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.319e-05/0.005586, allocations: 15.89 kB / 0.7932 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.005598, allocations: 4 kB / 0.7932 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.044e-05/0.005648, allocations: 11.11 kB / 0.7932 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.175e-05/0.0057, allocations: 23.97 kB / 0.7933 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.005705, allocations: 0 / 0.7933 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.823e-05/0.005743, allocations: 131.2 kB / 0.7934 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.005743, allocations: 0 / 0.7934 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001464/0.005889, allocations: 16 kB / 0.7934 GB, free: 6.781 MB / 0.7448 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 6.84e-05/0.005958, allocations: 99.19 kB / 0.7935 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.114e-05/0.006049, allocations: 46.08 kB / 0.7935 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.91e-07/0.00605, allocations: 0 / 0.7935 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.498e-05/0.006095, allocations: 39.59 kB / 0.7936 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/0.00628, allocations: 16 kB / 0.7936 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002457/0.006526, allocations: 176.3 kB / 0.7938 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.958e-05/0.006555, allocations: 55.36 kB / 0.7938 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.842e-05/0.006594, allocations: 17.08 kB / 0.7938 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.746e-05/0.006671, allocations: 86.19 kB / 0.7939 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of SimCode: time 6.32e-07/0.006672, allocations: 0 / 0.7939 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of Templates: time 0.003069/0.009741, allocations: 1.884 MB / 0.7957 GB, free: 4.348 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.206794160883874]