Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.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.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.008238/0.008238, allocations: 171.7 kB / 16.26 MB, free: 6.676 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.564/1.564, allocations: 223.2 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.042/3.042, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003944/0.0003944, allocations: 13.64 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3718, 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.Subtract): time 0.00136/0.3732, allocations: 0.4935 MB / 1.075 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001498/0.3747, allocations: 0.8663 MB / 1.075 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.785e-05/0.3748, allocations: 4 kB / 1.075 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.164e-05/0.3749, allocations: 7.922 kB / 1.075 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001602/0.3751, allocations: 7.938 kB / 1.075 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002804/0.3754, allocations: 31.97 kB / 1.076 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.3756, allocations: 75.88 kB / 1.076 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002005/0.3758, allocations: 19.98 kB / 1.076 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.3759, allocations: 35.8 kB / 1.076 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.376, allocations: 47.81 kB / 1.076 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.237e-05/0.376, allocations: 4 kB / 1.076 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.629e-05/0.3761, allocations: 4 kB / 1.076 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.713e-05/0.3761, allocations: 11.92 kB / 1.076 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.824e-05/0.3762, allocations: 61.48 kB / 1.076 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.3763, allocations: 75.7 kB / 1.076 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3763, allocations: 4 kB / 1.076 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3763, allocations: 0 / 1.076 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.3763, allocations: 0 / 1.076 GB, free: 5.75 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.0006999/0.377, allocations: 387.5 kB / 1.076 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.3771, allocations: 8.031 kB / 1.076 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.39e-05/0.3771, allocations: 8.844 kB / 1.076 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.3773, allocations: 180.2 kB / 1.076 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.3774, allocations: 8.312 kB / 1.076 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.3774, allocations: 8.375 kB / 1.076 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003559/0.3777, allocations: 121.7 kB / 1.077 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.3778, allocations: 0 / 1.077 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.3778, allocations: 0 / 1.077 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.3778, allocations: 7.938 kB / 1.077 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004131/0.3782, allocations: 123.9 kB / 1.077 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005958/0.3788, allocations: 340.6 kB / 1.077 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006826/0.3795, allocations: 134.6 kB / 1.077 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002571/0.3798, allocations: 64.81 kB / 1.077 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.3798, allocations: 4 kB / 1.077 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.3799, allocations: 38.55 kB / 1.077 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 2.905e-06/0.3799, allocations: 0 / 1.077 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0007911/0.3807, allocations: 217.4 kB / 1.077 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.3807, allocations: 51.41 kB / 1.077 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.3808, allocations: 130.1 kB / 1.078 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.3809, allocations: 25.7 kB / 1.078 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.553e-05/0.3809, allocations: 92.14 kB / 1.078 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.381, allocations: 27.62 kB / 1.078 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.381, allocations: 13.72 kB / 1.078 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.581e-05/0.3811, allocations: 326.8 kB / 1.078 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.3813, allocations: 55.95 kB / 1.078 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/0.3815, allocations: 55.95 kB / 1.078 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003836/0.3819, allocations: 120.7 kB / 1.078 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3819, allocations: 0 / 1.078 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004462/0.3824, allocations: 162 kB / 1.078 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.3824, allocations: 8 kB / 1.078 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.3824, allocations: 80 / 1.078 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.3824, allocations: 0 / 1.078 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.3826, allocations: 31.97 kB / 1.078 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.3826, allocations: 3.984 kB / 1.078 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.3827, allocations: 23.92 kB / 1.079 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.3828, allocations: 7.984 kB / 1.079 GB, free: 2.797 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,sub.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 9.433e-05/0.3829, allocations: 117.8 kB / 1.079 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.735e-05/0.3829, allocations: 7.906 kB / 1.079 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.221e-05/0.3829, allocations: 8.375 kB / 1.079 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.383, allocations: 0 / 1.079 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.383, allocations: 0 / 1.079 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.383, allocations: 3.938 kB / 1.079 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000255/0.3832, allocations: 209.5 kB / 1.079 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3832, allocations: 4 kB / 1.079 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.3834, allocations: 27.97 kB / 1.079 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.3834, allocations: 0 / 1.079 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.3835, allocations: 4 kB / 1.079 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3835, allocations: 0 / 1.079 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3835, allocations: 0 / 1.079 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005409/0.384, allocations: 259.2 kB / 1.079 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.528e-05/0.3841, allocations: 92.89 kB / 1.079 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.3841, allocations: 11.98 kB / 1.079 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.3843, allocations: 15.98 kB / 1.079 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.507e-05/0.3843, allocations: 19.97 kB / 1.079 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.3844, allocations: 7.938 kB / 1.079 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.766e-05/0.3844, allocations: 95.31 kB / 1.079 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3844, allocations: 0 / 1.079 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002372/0.3847, allocations: 16 kB / 1.079 GB, free: 1.82 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 (sub.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.0001605/0.3848, allocations: 103.2 kB / 1.079 GB, free: 1.711 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004695/0.3853, allocations: 123.9 kB / 1.08 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3853, allocations: 0 / 1.08 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002322/0.3856, allocations: 79.88 kB / 1.08 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.3859, allocations: 13.86 kB / 1.08 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005488/0.3865, allocations: 189.4 kB / 1.08 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.3868, allocations: 0.6926 MB / 1.081 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.233e-05/0.3869, allocations: 12 kB / 1.081 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.976e-05/0.387, allocations: 15.42 kB / 1.081 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of SimCode: time 3.61e-07/0.387, allocations: 0 / 1.081 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of Templates: time 0.004567/0.3916, allocations: 1.337 MB / 1.082 GB, free: 15.2 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1)