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.001394/0.001394, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001506/0.001506, allocations: 188 kB / 16.25 MB, free: 6.629 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.413/1.413, allocations: 222.9 MB / 239.9 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.008/3.008, allocations: 472.6 MB / 0.7448 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 72.89 kB / 0.9116 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3752, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001942/0.3772, allocations: 0.765 MB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008626/0.3781, allocations: 0.8 MB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.07e-05/0.3782, allocations: 0 / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.443e-05/0.3782, allocations: 0 / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.609e-05/0.3782, allocations: 7.938 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.259e-05/0.3783, allocations: 15.98 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.817e-05/0.3784, allocations: 43.8 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.474e-05/0.3785, allocations: 15.98 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.401e-05/0.3785, allocations: 19.97 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.356e-05/0.3786, allocations: 23.86 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.3786, allocations: 4 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.415e-06/0.3786, allocations: 4 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.399e-05/0.3786, allocations: 8 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.097e-05/0.3787, allocations: 19.86 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.255e-05/0.3787, allocations: 43.81 kB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.3787, allocations: 4 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3788, allocations: 0 / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.3788, allocations: 0 / 1.069 GB, free: 9.008 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.00048/0.3792, allocations: 361.4 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.3793, allocations: 12.03 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.646e-05/0.3793, allocations: 8.844 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.3794, allocations: 172.3 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.091e-06/0.3794, allocations: 384 / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.3795, allocations: 4.375 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.3797, allocations: 74.2 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.3797, allocations: 192 / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.3797, allocations: 3.938 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3798, allocations: 0 / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002693/0.38, allocations: 67.88 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003537/0.3804, allocations: 268.9 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.3806, allocations: 62.47 kB / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.3808, allocations: 40.91 kB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.3808, allocations: 3.984 kB / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.3808, allocations: 38.56 kB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.3808, allocations: 0 / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0004931/0.3813, allocations: 129.5 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.3814, allocations: 51.41 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.352e-05/0.3814, allocations: 105.8 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.3815, allocations: 29.7 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.743e-05/0.3815, allocations: 92.03 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.3815, allocations: 3.906 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/0.3816, allocations: 21.72 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.889e-05/0.3817, allocations: 310.8 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.3818, allocations: 35.95 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.382, allocations: 27.97 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.3822, allocations: 76.72 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3822, allocations: 7.875 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003178/0.3826, allocations: 93.62 kB / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.3826, allocations: 7.938 kB / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.3826, allocations: 0 / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.3826, allocations: 4 kB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.3827, allocations: 19.97 kB / 1.071 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.3827, allocations: 0 / 1.071 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.365e-05/0.3828, allocations: 11.98 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.3828, allocations: 0 / 1.071 GB, free: 6.68 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 7.569e-05/0.3829, allocations: 113.8 kB / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.3829, allocations: 7.906 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.169e-05/0.383, allocations: 11.91 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.383, allocations: 0 / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.383, allocations: 3.984 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.383, allocations: 7.938 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.3832, allocations: 161.6 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3832, allocations: 4 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.464e-05/0.3833, allocations: 15.98 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3833, allocations: 0 / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.3833, allocations: 0 / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.3833, allocations: 4 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.3833, allocations: 11.98 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003329/0.3836, allocations: 187.4 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.383e-05/0.3837, allocations: 84.95 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.3837, allocations: 0 / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.3838, allocations: 19.98 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.3839, allocations: 3.984 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/0.3839, allocations: 4.375 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.95e-05/0.3839, allocations: 87.27 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.322e-06/0.3839, allocations: 0 / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002119/0.3841, allocations: 11.94 kB / 1.072 GB, free: 5.852 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.0001236/0.3843, allocations: 95.25 kB / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003245/0.3846, allocations: 71.92 kB / 1.072 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3846, allocations: 0 / 1.072 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.3848, allocations: 36.05 kB / 1.072 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.3851, allocations: 19.86 kB / 1.072 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000286/0.3854, allocations: 149.3 kB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.3856, allocations: 0.6807 MB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.025e-05/0.3856, allocations: 0 / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.89e-05/0.3857, allocations: 7.438 kB / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3857, allocations: 7.938 kB / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of Templates: time 0.00234/0.388, allocations: 0.5636 MB / 1.074 GB, free: 4.176 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)