Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.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.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001341/0.001341, allocations: 195.4 kB / 16.14 MB, free: 6.703 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.472/1.472, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.007/3.007, allocations: 472.6 MB / 0.7447 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 62.09 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.4012, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002208/0.4034, allocations: 0.7613 MB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.4047, allocations: 0.804 MB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.775e-05/0.4048, allocations: 0 / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.673e-05/0.4048, allocations: 7.938 kB / 1.069 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.071e-05/0.4049, allocations: 7.938 kB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.86e-05/0.405, allocations: 7.984 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.4051, allocations: 43.84 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.4053, allocations: 11.98 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.992e-05/0.4054, allocations: 19.92 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.035e-05/0.4054, allocations: 15.92 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.4055, allocations: 7.938 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.192e-05/0.4055, allocations: 4 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.191e-05/0.4055, allocations: 11.98 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.815e-05/0.4056, allocations: 15.88 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.4057, allocations: 35.88 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.4057, allocations: 0 / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.182e-06/0.4057, allocations: 0 / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.4057, allocations: 4 kB / 1.069 GB, free: 9.109 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006955/0.4064, allocations: 363.6 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.4065, allocations: 12.03 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.197e-05/0.4065, allocations: 4.844 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.4067, allocations: 172.3 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.4067, allocations: 384 / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.4067, allocations: 8.375 kB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.407, allocations: 66.2 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.407, allocations: 192 / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.4071, allocations: 11.92 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.4071, allocations: 4 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003/0.4074, allocations: 67.92 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005161/0.4079, allocations: 268.8 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/0.4081, allocations: 58.48 kB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.4083, allocations: 48.91 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.4084, allocations: 0 / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.4084, allocations: 30.56 kB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.4084, allocations: 0 / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005487/0.409, allocations: 133.5 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.693e-05/0.4091, allocations: 51.41 kB / 1.07 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.4092, allocations: 109.8 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.4092, allocations: 25.7 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.4093, allocations: 92.05 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.4094, allocations: 7.906 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.849e-05/0.4094, allocations: 13.72 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.4096, allocations: 318.8 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.4097, allocations: 27.97 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.4099, allocations: 31.95 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002741/0.4102, allocations: 76.67 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.4102, allocations: 3.938 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002936/0.4105, allocations: 93.62 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.4105, allocations: 7.984 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.4105, allocations: 4 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.4105, allocations: 4 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.4106, allocations: 11.98 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.4107, allocations: 3.938 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.532e-05/0.4107, allocations: 15.98 kB / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.4108, allocations: 0 / 1.071 GB, free: 6.777 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 8.648e-05/0.4108, allocations: 113.8 kB / 1.071 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.4109, allocations: 7.906 kB / 1.071 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.998e-05/0.4109, allocations: 11.89 kB / 1.071 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.4109, allocations: 4 kB / 1.071 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.4109, allocations: 0 / 1.071 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.4109, allocations: 0 / 1.071 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.4111, allocations: 169.6 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.4111, allocations: 0 / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.532e-05/0.4112, allocations: 19.91 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.4112, allocations: 4.328 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.4112, allocations: 0 / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.4112, allocations: 4 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4113, allocations: 0 / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004325/0.4117, allocations: 195.4 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.98e-05/0.4117, allocations: 84.95 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.4118, allocations: 4 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.4119, allocations: 15.97 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.4119, allocations: 8 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-06/0.4119, allocations: 0 / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001068/0.412, allocations: 91.58 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.412, allocations: 0 / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000207/0.4123, allocations: 4 kB / 1.072 GB, free: 5.953 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001547/0.4124, allocations: 103.2 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000342/0.4128, allocations: 67.92 kB / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4128, allocations: 0 / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.4129, allocations: 39.95 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.4133, allocations: 17.08 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000377/0.4137, allocations: 131.2 kB / 1.072 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.414, allocations: 0.6848 MB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.51e-05/0.4141, allocations: 0 / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.114e-05/0.4141, allocations: 15.38 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.4141, allocations: 4 kB / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of Templates: time 0.002667/0.4168, allocations: 0.5445 MB / 1.074 GB, free: 4.301 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1)