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.001211/0.001211, 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.001354/0.001354, allocations: 191.8 kB / 16.25 MB, free: 6.633 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.438/1.438, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.866/2.866, allocations: 472.6 MB / 0.7448 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 72.55 kB / 0.9116 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3728, allocations: 159.9 MB / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002186/0.375, allocations: 0.7613 MB / 1.068 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000938/0.376, allocations: 0.804 MB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.045e-05/0.376, allocations: 0 / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.672e-05/0.3761, allocations: 0 / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.167e-05/0.3761, allocations: 11.92 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 7.471e-05/0.3762, allocations: 8 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.695e-05/0.3763, allocations: 47.78 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.3764, allocations: 16 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.23e-05/0.3765, allocations: 11.98 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.814e-05/0.3766, allocations: 31.84 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.3766, allocations: 4 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.118e-05/0.3766, allocations: 4 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.91e-05/0.3766, allocations: 11.98 kB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.945e-05/0.3767, allocations: 7.938 kB / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.322e-05/0.3768, allocations: 47.8 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.3768, allocations: 0 / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3768, allocations: 3.938 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.3768, allocations: 0 / 1.069 GB, free: 8.965 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.0005526/0.3774, allocations: 365.9 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.3774, allocations: 12.03 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.281e-05/0.3775, allocations: 4.844 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.3776, allocations: 172.3 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.3776, allocations: 384 / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.3776, allocations: 4.375 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.3779, allocations: 70.16 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.3779, allocations: 4.188 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.3779, allocations: 7.922 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3779, allocations: 0 / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002838/0.3782, allocations: 63.92 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003956/0.3786, allocations: 276.9 kB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.3788, allocations: 54.42 kB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.379, allocations: 48.91 kB / 1.07 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.379, allocations: 0 / 1.07 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.379, allocations: 34.56 kB / 1.071 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.3791, allocations: 0 / 1.071 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0004866/0.3795, allocations: 125.6 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.3796, allocations: 51.41 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.788e-05/0.3797, allocations: 117.8 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.3797, allocations: 33.7 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.321e-05/0.3798, allocations: 84.05 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.3798, allocations: 11.91 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/0.3798, allocations: 9.719 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.38, allocations: 322.8 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.3801, allocations: 27.97 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.3802, allocations: 35.95 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000254/0.3805, allocations: 64.8 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.3805, allocations: 3.938 kB / 1.071 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002886/0.3808, allocations: 105.5 kB / 1.071 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.3808, allocations: 4 kB / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3808, allocations: 0 / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.3809, allocations: 0 / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.381, allocations: 23.92 kB / 1.071 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.381, allocations: 0 / 1.071 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.283e-05/0.3811, allocations: 11.98 kB / 1.071 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.3811, allocations: 0 / 1.071 GB, free: 6.633 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 9.974e-05/0.3812, allocations: 125.8 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.3812, allocations: 3.906 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.377e-05/0.3813, allocations: 3.906 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.3813, allocations: 7.938 kB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3813, allocations: 0 / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3813, allocations: 0 / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.3815, allocations: 169.6 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3815, allocations: 0 / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.914e-05/0.3816, allocations: 15.97 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3816, allocations: 8 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.3816, allocations: 336 / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3816, allocations: 0 / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3816, allocations: 0 / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003548/0.382, allocations: 199.3 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.567e-05/0.382, allocations: 92.94 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.3821, allocations: 4 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.3822, allocations: 7.984 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.3822, allocations: 8 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.3823, allocations: 0 / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.654e-05/0.3823, allocations: 87.27 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3823, allocations: 0 / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002093/0.3825, allocations: 8 kB / 1.072 GB, free: 5.805 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.0001738/0.3827, allocations: 103.2 kB / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003363/0.383, allocations: 63.92 kB / 1.072 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.3831, allocations: 0 / 1.072 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.3832, allocations: 43.89 kB / 1.072 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.3836, allocations: 15.94 kB / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003627/0.3839, allocations: 137.3 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.3842, allocations: 0.6846 MB / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.441e-05/0.3843, allocations: 0 / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.33e-05/0.3843, allocations: 15.44 kB / 1.073 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3843, allocations: 0 / 1.073 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of Templates: time 0.002642/0.387, allocations: 0.5696 MB / 1.074 GB, free: 4.125 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)