Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001283, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 193.4 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.736/1.736, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.983/2.983, allocations: 472.6 MB / 0.7451 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 60.2 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4325/0.4338, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002228/0.4361, allocations: 0.7729 MB / 1.069 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.4372, allocations: 0.8701 MB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.223e-05/0.4373, allocations: 0 / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.403e-05/0.4373, allocations: 7.938 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.296e-05/0.4374, allocations: 11.86 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001843/0.4376, allocations: 43.89 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.4377, allocations: 75.89 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.4379, allocations: 35.91 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.409e-05/0.438, allocations: 35.91 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.927e-05/0.4381, allocations: 55.75 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.4381, allocations: 8 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.852e-05/0.4381, allocations: 8 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.85e-05/0.4381, allocations: 15.92 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.383e-05/0.4382, allocations: 35.8 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.4384, allocations: 91.7 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.4384, allocations: 0 / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4384, allocations: 0 / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.4384, allocations: 0 / 1.07 GB, free: 8.395 MB / 0.8262 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.0006705/0.4391, allocations: 391.5 kB / 1.071 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.4391, allocations: 11.97 kB / 1.071 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.556e-05/0.4392, allocations: 8.844 kB / 1.071 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.4393, allocations: 184.2 kB / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.4394, allocations: 4.375 kB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.4394, allocations: 8.375 kB / 1.071 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003303/0.4397, allocations: 113.7 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.4397, allocations: 0 / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.4398, allocations: 0 / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.4398, allocations: 4 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003682/0.4401, allocations: 99.91 kB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005646/0.4407, allocations: 336.6 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006414/0.4414, allocations: 122.6 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/0.4416, allocations: 56.8 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.4416, allocations: 0 / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.4416, allocations: 34.56 kB / 1.072 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.4416, allocations: 0 / 1.072 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0007186/0.4424, allocations: 189.4 kB / 1.072 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.4424, allocations: 51.41 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.802e-05/0.4425, allocations: 125.7 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.4426, allocations: 25.7 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.779e-05/0.4426, allocations: 100 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.4427, allocations: 19.75 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-05/0.4427, allocations: 21.7 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.4428, allocations: 326.8 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.443, allocations: 43.95 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/0.4432, allocations: 47.94 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003394/0.4436, allocations: 96.78 kB / 1.073 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.4436, allocations: 4 kB / 1.073 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004138/0.444, allocations: 141.4 kB / 1.073 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.444, allocations: 9.406 kB / 1.073 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.444, allocations: 0 / 1.073 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.444, allocations: 4 kB / 1.073 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.4442, allocations: 23.97 kB / 1.073 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.4442, allocations: 0 / 1.073 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.4444, allocations: 19.91 kB / 1.073 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.4444, allocations: 0.5469 kB / 1.073 GB, free: 5.602 MB / 0.8262 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.0001052/0.4445, allocations: 113.8 kB / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.272e-05/0.4445, allocations: 11.91 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004576/0.445, allocations: 149.9 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.445, allocations: 7.984 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.445, allocations: 0 / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.445, allocations: 3.938 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/0.4452, allocations: 209.4 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4452, allocations: 0 / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.4454, allocations: 23.97 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.4454, allocations: 7.984 kB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.4454, allocations: 0 / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4455, allocations: 4.016 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4455, allocations: 3.984 kB / 1.073 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004593/0.4459, allocations: 239.3 kB / 1.073 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.179e-05/0.446, allocations: 85.02 kB / 1.074 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.446, allocations: 0 / 1.074 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.4461, allocations: 11.98 kB / 1.074 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.547e-05/0.4463, allocations: 19.97 kB / 1.074 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.4463, allocations: 7.938 kB / 1.074 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.681e-05/0.4463, allocations: 99.27 kB / 1.074 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4463, allocations: 4 kB / 1.074 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002275/0.4466, allocations: 8 kB / 1.074 GB, free: 4.512 MB / 0.8262 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.0001505/0.4467, allocations: 107.8 kB / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000449/0.4472, allocations: 112 kB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4472, allocations: 4 kB / 1.074 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002052/0.4474, allocations: 63.94 kB / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.4478, allocations: 10.23 kB / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000463/0.4482, allocations: 182 kB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.4485, allocations: 0.6924 MB / 1.075 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.774e-05/0.4486, allocations: 12 kB / 1.075 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.686e-05/0.4487, allocations: 15.42 kB / 1.075 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of SimCode: time 3.2e-07/0.4487, allocations: 0 / 1.075 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of Templates: time 0.004107/0.4528, allocations: 1.577 MB / 1.076 GB, free: 1.695 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1)