Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.00175/0.001749, allocations: 108 kB / 15.6 MB, free: 132 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.001555/0.001555, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.561/1.561, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.038/3.038, allocations: 472.6 MB / 0.7451 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 68.61 kB / 0.912 GB, free: 33.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4176, allocations: 159.9 MB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.00344/0.4211, allocations: 0.7779 MB / 1.069 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001456/0.4226, allocations: 0.8623 MB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.657e-05/0.4227, allocations: 0 / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.008e-05/0.4228, allocations: 15.86 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.423, allocations: 11.88 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002366/0.4232, allocations: 39.94 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000152/0.4234, allocations: 79.83 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.4235, allocations: 23.98 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.4237, allocations: 39.84 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.481e-05/0.4238, allocations: 43.83 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/0.4238, allocations: 12 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.927e-05/0.4238, allocations: 8 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.473e-05/0.4239, allocations: 23.91 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.513e-05/0.4239, allocations: 39.78 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.4241, allocations: 83.73 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.4241, allocations: 0 / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4241, allocations: 0 / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.408e-06/0.4241, allocations: 3.984 kB / 1.07 GB, free: 8.285 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.0006546/0.4248, allocations: 395.5 kB / 1.071 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.4248, allocations: 12.02 kB / 1.071 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.268e-05/0.4249, allocations: 8.844 kB / 1.071 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.425, allocations: 176.2 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.4251, allocations: 4.375 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.4251, allocations: 8.375 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003076/0.4254, allocations: 105.7 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.4254, allocations: 0 / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.4255, allocations: 4 kB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.4255, allocations: 3.984 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000359/0.4258, allocations: 99.89 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005315/0.4264, allocations: 348.5 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00063/0.427, allocations: 118.6 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001964/0.4272, allocations: 60.8 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.4273, allocations: 7.938 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.4273, allocations: 34.56 kB / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.4273, allocations: 0 / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0006896/0.428, allocations: 181.4 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.4281, allocations: 59.41 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.4282, allocations: 125.8 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.4282, allocations: 29.7 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.774e-05/0.4283, allocations: 92.03 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/0.4283, allocations: 19.75 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.686e-05/0.4284, allocations: 25.7 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.4285, allocations: 318.8 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.4287, allocations: 47.95 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.4289, allocations: 47.89 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003391/0.4292, allocations: 100.8 kB / 1.073 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4292, allocations: 0 / 1.073 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003856/0.4296, allocations: 133.5 kB / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.4297, allocations: 8 kB / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.4297, allocations: 0 / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.4297, allocations: 0 / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.4299, allocations: 27.97 kB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.4299, allocations: 3.938 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.43, allocations: 19.92 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-06/0.43, allocations: 0 / 1.073 GB, free: 5.488 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.853e-05/0.4301, allocations: 113.8 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.329e-05/0.4302, allocations: 11.89 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.844e-05/0.4302, allocations: 8.375 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.4302, allocations: 4 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.4302, allocations: 0 / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.4302, allocations: 3.938 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.4304, allocations: 205.4 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4304, allocations: 4 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.4306, allocations: 27.97 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.4306, allocations: 8 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.4306, allocations: 0 / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4306, allocations: 0 / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4306, allocations: 0 / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004691/0.4311, allocations: 235.3 kB / 1.073 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.613e-05/0.4312, allocations: 88.95 kB / 1.073 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.4312, allocations: 4 kB / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.4313, allocations: 19.91 kB / 1.073 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.358e-05/0.4314, allocations: 15.98 kB / 1.073 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.4315, allocations: 11.92 kB / 1.073 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.633e-05/0.4315, allocations: 87.28 kB / 1.074 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4315, allocations: 4 kB / 1.074 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000237/0.4318, allocations: 16 kB / 1.074 GB, free: 4.543 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.0001444/0.4319, allocations: 103.8 kB / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004329/0.4324, allocations: 107.8 kB / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4324, allocations: 0 / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001985/0.4326, allocations: 68.72 kB / 1.074 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.4329, allocations: 4 kB / 1.074 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004533/0.4334, allocations: 186.1 kB / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.4337, allocations: 0.6924 MB / 1.075 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.421e-05/0.4337, allocations: 8 kB / 1.075 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.287e-05/0.4338, allocations: 23.42 kB / 1.075 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.4338, allocations: 0 / 1.075 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of Templates: time 0.00427/0.4381, allocations: 1.576 MB / 1.076 GB, free: 1.73 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1)