Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01039/0.01039, allocations: 102.9 kB / 15.73 MB, free: 6.488 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.001998/0.001998, allocations: 195.2 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.713/1.713, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.741/1.741, allocations: 251.7 MB / 0.5094 GB, free: 3.07 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 71.89 kB / 0.7258 GB, free: 9.012 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2776, allocations: 104.7 MB / 0.8281 GB, free: 200 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002019/0.2797, allocations: 0.5436 MB / 0.8286 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 5.583e-05/0.2798, allocations: 7.938 kB / 0.8286 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.237e-05/0.2798, allocations: 4 kB / 0.8286 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.597e-05/0.2798, allocations: 0 / 0.8286 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.096e-05/0.2799, allocations: 0 / 0.8286 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 5.723e-05/0.28, allocations: 0 / 0.8286 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.441e-05/0.28, allocations: 4 kB / 0.8286 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.848e-05/0.2801, allocations: 3.828 kB / 0.8286 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.953e-05/0.2801, allocations: 0 / 0.8286 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.143e-05/0.2802, allocations: 0 / 0.8286 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.2802, allocations: 4 kB / 0.8286 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.528e-06/0.2802, allocations: 0 / 0.8286 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.858e-05/0.2802, allocations: 0 / 0.8286 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.219e-05/0.2802, allocations: 8 kB / 0.8286 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 7.702e-05/0.2803, allocations: 3.984 kB / 0.8286 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.2803, allocations: 3.938 kB / 0.8286 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.234e-06/0.2803, allocations: 0 / 0.8286 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.2804, allocations: 3.938 kB / 0.8286 GB, free: 15.61 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003786/0.2807, allocations: 311.5 kB / 0.8289 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.2808, allocations: 12.03 kB / 0.8289 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.084e-05/0.2808, allocations: 4.875 kB / 0.829 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.281, allocations: 168.4 kB / 0.8291 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.281, allocations: 4.375 kB / 0.8291 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.281, allocations: 4.375 kB / 0.8291 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.2811, allocations: 34.25 kB / 0.8292 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.2812, allocations: 192 / 0.8292 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.2812, allocations: 3.938 kB / 0.8292 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.2812, allocations: 0 / 0.8292 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.849e-05/0.2812, allocations: 0 / 0.8292 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003925/0.2816, allocations: 391.4 kB / 0.8295 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.2817, allocations: 169.1 kB / 0.8297 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.527e-05/0.2818, allocations: 80.14 kB / 0.8298 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.993e-05/0.2818, allocations: 79.31 kB / 0.8298 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.415e-05/0.2819, allocations: 105.8 kB / 0.8299 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 2.745e-06/0.2819, allocations: 4 kB / 0.8299 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 8.36e-05/0.282, allocations: 34.02 kB / 0.83 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.662e-05/0.2821, allocations: 130.7 kB / 0.8301 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.317e-05/0.2822, allocations: 93.86 kB / 0.8302 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.2822, allocations: 25.7 kB / 0.8302 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.184e-05/0.2822, allocations: 80.14 kB / 0.8303 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.2822, allocations: 0 / 0.8303 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.08e-05/0.2822, allocations: 13.72 kB / 0.8303 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.2824, allocations: 323 kB / 0.8306 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.791e-06/0.2824, allocations: 0 / 0.8306 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.427e-06/0.2824, allocations: 0 / 0.8306 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.028e-05/0.2824, allocations: 75.28 kB / 0.8307 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.439e-05/0.2825, allocations: 75.28 kB / 0.8308 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.983e-05/0.2825, allocations: 41.56 kB / 0.8308 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.931e-05/0.2826, allocations: 79.28 kB / 0.8309 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.081e-05/0.2826, allocations: 75.28 kB / 0.8309 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.918e-05/0.2827, allocations: 158.6 kB / 0.8311 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.289e-05/0.2827, allocations: 83.16 kB / 0.8312 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.574e-05/0.2828, allocations: 150.6 kB / 0.8313 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.663e-05/0.2828, allocations: 83.22 kB / 0.8314 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/0.2829, allocations: 79.28 kB / 0.8315 GB, free: 12.47 MB / 0.6544 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 (0): * Single equations (assignments): 0 * 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.0001101/0.283, allocations: 268.3 kB / 0.8317 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.396e-05/0.2831, allocations: 101 kB / 0.8318 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.749e-05/0.2831, allocations: 112 kB / 0.8319 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.522e-05/0.2832, allocations: 176.3 kB / 0.8321 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.424e-05/0.2832, allocations: 188.1 kB / 0.8323 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.528e-05/0.2833, allocations: 184.2 kB / 0.8325 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002243/0.2835, allocations: 405.2 kB / 0.8328 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.643e-05/0.2836, allocations: 104.9 kB / 0.8329 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.291e-05/0.2836, allocations: 109 kB / 0.833 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.888e-05/0.2837, allocations: 184.2 kB / 0.8332 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.089e-05/0.2838, allocations: 180.6 kB / 0.8334 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.345e-05/0.2838, allocations: 184.2 kB / 0.8336 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.506e-05/0.2839, allocations: 176.3 kB / 0.8337 GB, free: 9.996 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/0.284, allocations: 315.7 kB / 0.834 GB, free: 9.664 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.062e-05/0.2841, allocations: 178.1 kB / 0.8342 GB, free: 9.465 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.67e-05/0.2842, allocations: 188.2 kB / 0.8344 GB, free: 9.273 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.885e-05/0.2843, allocations: 105 kB / 0.8345 GB, free: 9.164 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.467e-05/0.2843, allocations: 180.3 kB / 0.8347 GB, free: 8.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.31e-05/0.2844, allocations: 104.9 kB / 0.8348 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.513e-05/0.2844, allocations: 79.28 kB / 0.8348 GB, free: 8.793 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2844, allocations: 0 / 0.8348 GB, free: 8.793 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002393/0.2847, allocations: 0 / 0.8348 GB, free: 8.793 MB / 0.6544 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 (0): * Single equations (assignments): 0 * 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.0001721/0.2849, allocations: 178.6 kB / 0.835 GB, free: 8.605 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 5.508e-05/0.2849, allocations: 7.984 kB / 0.835 GB, free: 8.598 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.2849, allocations: 0 / 0.835 GB, free: 8.598 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.2849, allocations: 0 / 0.835 GB, free: 8.598 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.2853, allocations: 467.6 kB / 0.8355 GB, free: 8.137 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002436/0.2856, allocations: 152.3 kB / 0.8356 GB, free: 7.961 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/0.2858, allocations: 0.6766 MB / 0.8363 GB, free: 7.258 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.315e-06/0.2858, allocations: 0 / 0.8363 GB, free: 7.258 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.979e-05/0.2858, allocations: 7.438 kB / 0.8363 GB, free: 7.25 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.2858, allocations: 3.938 kB / 0.8363 GB, free: 7.246 MB / 0.6544 GB Notification: Performance of Templates: time 0.002309/0.2881, allocations: 168.7 kB / 0.8364 GB, free: 7.082 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)