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.001355/0.001355, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00158/0.00158, allocations: 191.9 kB / 16.14 MB, free: 6.688 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.53/1.53, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.077/3.077, allocations: 472.6 MB / 0.7447 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 63.28 kB / 0.9114 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.4061, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.00222/0.4084, allocations: 0.8325 MB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009917/0.4094, allocations: 0.874 MB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.02e-05/0.4094, allocations: 0 / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.258e-05/0.4095, allocations: 3.938 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.693e-05/0.4096, allocations: 15.92 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001583/0.4098, allocations: 27.97 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.979e-05/0.4099, allocations: 83.81 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.41, allocations: 16 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.318e-05/0.4101, allocations: 35.84 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.637e-05/0.4102, allocations: 51.81 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.4102, allocations: 8 kB / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.726e-05/0.4103, allocations: 4 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.984e-05/0.4103, allocations: 15.92 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.009e-05/0.4103, allocations: 35.78 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.4105, allocations: 83.72 kB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4105, allocations: 0 / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.52e-07/0.4105, allocations: 0 / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.4105, allocations: 0 / 1.07 GB, free: 8.797 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.0006632/0.4112, allocations: 391.5 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.4112, allocations: 12.03 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.91e-05/0.4113, allocations: 8.844 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.4114, allocations: 184.2 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.4114, allocations: 384 / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.4115, allocations: 4.375 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003342/0.4118, allocations: 113.7 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.4118, allocations: 4 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.4118, allocations: 0 / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.4118, allocations: 4 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003746/0.4122, allocations: 95.89 kB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005626/0.4128, allocations: 340.6 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006581/0.4135, allocations: 126.5 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/0.4137, allocations: 64.8 kB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.4137, allocations: 11.97 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.4137, allocations: 34.5 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.4137, allocations: 0 / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.000673/0.4144, allocations: 185.4 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.4145, allocations: 51.41 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.4146, allocations: 125.8 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.4146, allocations: 25.7 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.611e-05/0.4147, allocations: 96.05 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.4147, allocations: 15.73 kB / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.332e-05/0.4148, allocations: 29.7 kB / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.4149, allocations: 314.8 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/0.4151, allocations: 47.95 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.4153, allocations: 51.95 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003545/0.4156, allocations: 100.7 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4156, allocations: 4 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004174/0.4161, allocations: 133.5 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.4161, allocations: 4 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.4161, allocations: 3.984 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.4161, allocations: 0 / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.4163, allocations: 23.97 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.4163, allocations: 4 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.4164, allocations: 19.92 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.4165, allocations: 4 kB / 1.072 GB, free: 5.992 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 0.0001011/0.4166, allocations: 117.8 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.237e-05/0.4166, allocations: 3.906 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.475e-05/0.4166, allocations: 16.36 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.4167, allocations: 0 / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.4167, allocations: 3.938 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.4167, allocations: 7.938 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002471/0.4169, allocations: 213.4 kB / 1.072 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4169, allocations: 0 / 1.072 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.4171, allocations: 23.97 kB / 1.072 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.4171, allocations: 0 / 1.072 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.4171, allocations: 0 / 1.072 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.4171, allocations: 0 / 1.072 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.4171, allocations: 0 / 1.072 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004778/0.4176, allocations: 239.3 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.173e-05/0.4177, allocations: 85.02 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.4177, allocations: 0 / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.4179, allocations: 15.97 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.006e-05/0.4179, allocations: 19.98 kB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.418, allocations: 7.922 kB / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.016e-05/0.418, allocations: 99.27 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.418, allocations: 0 / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002326/0.4183, allocations: 16 kB / 1.073 GB, free: 5.047 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.0001422/0.4184, allocations: 99.19 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004141/0.4188, allocations: 104.5 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.4189, allocations: 7.938 kB / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001983/0.4191, allocations: 55.94 kB / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.4194, allocations: 9.203 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004717/0.4199, allocations: 203.8 kB / 1.073 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.4202, allocations: 0.6887 MB / 1.074 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.864e-05/0.4203, allocations: 12 kB / 1.074 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.354e-05/0.4203, allocations: 15.42 kB / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.4203, allocations: 0 / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of Templates: time 0.003683/0.424, allocations: 1.36 MB / 1.075 GB, free: 2.445 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)