Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008306/0.0008348, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006752/0.006752, allocations: 169.6 kB / 16.27 MB, free: 6.66 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.494/1.494, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.019/3.019, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0007989/0.0007995, allocations: 10.53 kB / 0.9158 GB, free: 33.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4612/0.462, allocations: 162.2 MB / 1.074 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001164/0.4632, allocations: 0.4935 MB / 1.075 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.4643, allocations: 0.8741 MB / 1.075 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.621e-05/0.4644, allocations: 4 kB / 1.075 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.488e-05/0.4644, allocations: 3.938 kB / 1.075 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.516e-05/0.4645, allocations: 3.938 kB / 1.075 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001833/0.4647, allocations: 35.95 kB / 1.076 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.4648, allocations: 71.89 kB / 1.076 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.465, allocations: 27.98 kB / 1.076 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.513e-05/0.4651, allocations: 39.77 kB / 1.076 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.4652, allocations: 35.84 kB / 1.076 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.05e-05/0.4653, allocations: 7.938 kB / 1.076 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.701e-05/0.4653, allocations: 4 kB / 1.076 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.968e-05/0.4653, allocations: 15.91 kB / 1.076 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.006e-05/0.4654, allocations: 57.5 kB / 1.076 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.4655, allocations: 83.7 kB / 1.076 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4656, allocations: 0 / 1.076 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.665e-06/0.4656, allocations: 0 / 1.076 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.4656, allocations: 0 / 1.076 GB, free: 5.742 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.0006937/0.4663, allocations: 391.5 kB / 1.076 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.4663, allocations: 12.03 kB / 1.076 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.312e-05/0.4664, allocations: 8.844 kB / 1.076 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.4666, allocations: 184.1 kB / 1.076 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.4666, allocations: 4.375 kB / 1.076 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.4666, allocations: 8.375 kB / 1.076 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003301/0.4669, allocations: 117.7 kB / 1.077 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.467, allocations: 0 / 1.077 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.467, allocations: 0 / 1.077 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.467, allocations: 4 kB / 1.077 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004112/0.4674, allocations: 123.9 kB / 1.077 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000565/0.468, allocations: 336.6 kB / 1.077 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000646/0.4686, allocations: 138.6 kB / 1.077 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.4689, allocations: 72.8 kB / 1.077 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.4689, allocations: 0 / 1.077 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.4689, allocations: 34.5 kB / 1.077 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.4689, allocations: 0 / 1.077 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.00074/0.4697, allocations: 221.4 kB / 1.077 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.4698, allocations: 55.41 kB / 1.077 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.4699, allocations: 121.8 kB / 1.078 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.4699, allocations: 29.64 kB / 1.078 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.451e-05/0.47, allocations: 92.12 kB / 1.078 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.47, allocations: 19.66 kB / 1.078 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.47, allocations: 21.72 kB / 1.078 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.4702, allocations: 322.8 kB / 1.078 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.4704, allocations: 55.95 kB / 1.078 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.4706, allocations: 59.89 kB / 1.078 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003697/0.4709, allocations: 120.8 kB / 1.078 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.471, allocations: 0 / 1.078 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004442/0.4714, allocations: 161.5 kB / 1.078 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.4714, allocations: 4 kB / 1.078 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.4714, allocations: 4 kB / 1.078 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.4715, allocations: 0 / 1.078 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.4716, allocations: 31.97 kB / 1.078 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.4717, allocations: 3.938 kB / 1.078 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.4718, allocations: 23.91 kB / 1.079 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.4718, allocations: 7.938 kB / 1.079 GB, free: 2.785 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,max1.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.0001146/0.4719, allocations: 113.8 kB / 1.079 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.095e-05/0.472, allocations: 7.906 kB / 1.079 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005243/0.4725, allocations: 173.9 kB / 1.079 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.4725, allocations: 4 kB / 1.079 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4725, allocations: 0 / 1.079 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.4725, allocations: 3.938 kB / 1.079 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002243/0.4728, allocations: 197.6 kB / 1.079 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.4728, allocations: 3.984 kB / 1.079 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001899/0.473, allocations: 35.91 kB / 1.079 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.473, allocations: 4 kB / 1.079 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.473, allocations: 0 / 1.079 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.473, allocations: 4 kB / 1.079 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.473, allocations: 0 / 1.079 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000487/0.4735, allocations: 259.3 kB / 1.079 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.788e-05/0.4736, allocations: 81.02 kB / 1.079 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.4736, allocations: 7.938 kB / 1.079 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.4737, allocations: 23.97 kB / 1.079 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.87e-05/0.4738, allocations: 15.98 kB / 1.079 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.4738, allocations: 15.92 kB / 1.079 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.883e-05/0.4739, allocations: 91.27 kB / 1.08 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4739, allocations: 0 / 1.08 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002304/0.4741, allocations: 12 kB / 1.08 GB, free: 1.652 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 (max1.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.0001443/0.4743, allocations: 103.2 kB / 1.08 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004424/0.4747, allocations: 128.6 kB / 1.08 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4748, allocations: 0 / 1.08 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002174/0.475, allocations: 75.88 kB / 1.08 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.4753, allocations: 8 kB / 1.08 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004632/0.4758, allocations: 189.7 kB / 1.08 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.4761, allocations: 0.6926 MB / 1.081 GB, free: 404 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.943e-05/0.4762, allocations: 12 kB / 1.081 GB, free: 392 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.959e-05/0.4763, allocations: 19.42 kB / 1.081 GB, free: 372 kB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.4763, allocations: 0 / 1.081 GB, free: 372 kB / 0.8262 GB Notification: Performance of Templates: time 0.003925/0.4802, allocations: 1.352 MB / 1.082 GB, free: 15.02 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1)