Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001108/0.001108, allocations: 90.52 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.007566/0.007566, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.492/1.492, allocations: 223.2 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.946/2.946, allocations: 473.4 MB / 0.7469 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0007131/0.000713, allocations: 13.39 kB / 0.9158 GB, free: 33.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3688, allocations: 162.2 MB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.000978/0.3699, allocations: 446.5 kB / 1.075 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.371, allocations: 0.8001 MB / 1.075 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.894e-05/0.371, allocations: 0 / 1.075 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.145e-05/0.3711, allocations: 4 kB / 1.075 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.829e-05/0.3712, allocations: 7.938 kB / 1.075 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.606e-05/0.3712, allocations: 7.984 kB / 1.075 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.724e-05/0.3713, allocations: 43.8 kB / 1.075 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.3715, allocations: 15.98 kB / 1.075 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.734e-05/0.3716, allocations: 12 kB / 1.075 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.119e-05/0.3716, allocations: 27.83 kB / 1.075 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.3716, allocations: 0 / 1.075 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.849e-06/0.3717, allocations: 8 kB / 1.075 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.627e-05/0.3717, allocations: 0 / 1.075 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.036e-05/0.3717, allocations: 45.56 kB / 1.076 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.331e-05/0.3718, allocations: 39.81 kB / 1.076 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3718, allocations: 0 / 1.076 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3719, allocations: 0 / 1.076 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.3719, allocations: 0 / 1.076 GB, free: 6.074 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.0005772/0.3724, allocations: 371.7 kB / 1.076 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.3725, allocations: 8.031 kB / 1.076 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.48e-05/0.3726, allocations: 4.938 kB / 1.076 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.3727, allocations: 168.2 kB / 1.076 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.3728, allocations: 8.375 kB / 1.076 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.3728, allocations: 384 / 1.076 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003246/0.3731, allocations: 90.16 kB / 1.076 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.3731, allocations: 192 / 1.076 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.3731, allocations: 7.922 kB / 1.076 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.3732, allocations: 0 / 1.076 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003246/0.3735, allocations: 83.94 kB / 1.076 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004857/0.374, allocations: 269 kB / 1.077 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002501/0.3742, allocations: 74.41 kB / 1.077 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.3744, allocations: 52.92 kB / 1.077 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.3745, allocations: 3.984 kB / 1.077 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.3745, allocations: 34.56 kB / 1.077 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.3745, allocations: 0 / 1.077 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0006605/0.3752, allocations: 165.5 kB / 1.077 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.3752, allocations: 51.41 kB / 1.077 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.3753, allocations: 113.8 kB / 1.077 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.3754, allocations: 29.64 kB / 1.077 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.011e-05/0.3754, allocations: 88.12 kB / 1.077 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.3755, allocations: 11.81 kB / 1.077 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.823e-05/0.3755, allocations: 17.72 kB / 1.077 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3757, allocations: 310.8 kB / 1.077 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.3758, allocations: 43.95 kB / 1.077 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.376, allocations: 43.97 kB / 1.078 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002962/0.3763, allocations: 88.78 kB / 1.078 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.3763, allocations: 3.938 kB / 1.078 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003825/0.3767, allocations: 117.6 kB / 1.078 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.3767, allocations: 7.938 kB / 1.078 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3767, allocations: 0 / 1.078 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.3768, allocations: 4 kB / 1.078 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.3769, allocations: 27.91 kB / 1.078 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.3769, allocations: 0 / 1.078 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.316e-05/0.377, allocations: 15.98 kB / 1.078 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.377, allocations: 4 kB / 1.078 GB, free: 3.574 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 0.0002029/0.3772, allocations: 117.7 kB / 1.078 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.3773, allocations: 11.91 kB / 1.078 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.286e-05/0.3773, allocations: 7.906 kB / 1.078 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3773, allocations: 0 / 1.078 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3773, allocations: 0 / 1.078 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.3773, allocations: 0 / 1.078 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001969/0.3775, allocations: 169.6 kB / 1.078 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3775, allocations: 0 / 1.078 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.985e-05/0.3777, allocations: 23.98 kB / 1.078 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.3777, allocations: 4 kB / 1.078 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.3777, allocations: 0 / 1.078 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.3777, allocations: 4 kB / 1.078 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3777, allocations: 0 / 1.078 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004192/0.3781, allocations: 219.3 kB / 1.078 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.837e-05/0.3782, allocations: 84.95 kB / 1.078 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.3782, allocations: 0 / 1.078 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.3783, allocations: 23.98 kB / 1.078 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/0.3784, allocations: 7.984 kB / 1.078 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.3784, allocations: 4 kB / 1.078 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.889e-05/0.3785, allocations: 83.28 kB / 1.078 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3785, allocations: 0 / 1.078 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002118/0.3787, allocations: 8 kB / 1.079 GB, free: 2.719 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.0001711/0.3789, allocations: 106 kB / 1.079 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003797/0.3792, allocations: 87.92 kB / 1.079 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3793, allocations: 4 kB / 1.079 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.3794, allocations: 47.91 kB / 1.079 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.3797, allocations: 16.48 kB / 1.079 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003431/0.3801, allocations: 132.6 kB / 1.079 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.3804, allocations: 0.6809 MB / 1.08 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.252e-05/0.3804, allocations: 3.859 kB / 1.08 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.004e-05/0.3805, allocations: 11.44 kB / 1.08 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of SimCode: time 4.81e-07/0.3805, allocations: 0 / 1.08 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of Templates: time 0.003649/0.3841, allocations: 0.5409 MB / 1.08 GB, free: 1.043 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1)