Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.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.Continuous.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01172/0.01172, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001495/0.001495, allocations: 186.5 kB / 16.67 MB, free: 5.977 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.777/1.777, allocations: 205.1 MB / 222.5 MB, free: 4.391 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.717/1.717, allocations: 251.7 MB / 0.5094 GB, free: 3.008 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.00175/0.00175, allocations: 71.91 kB / 0.7258 GB, free: 8.957 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.294, allocations: 104.7 MB / 0.8281 GB, free: 152 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.002891/0.2969, allocations: 1.375 MB / 0.8294 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004033/0.2974, allocations: 112.9 kB / 0.8295 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.672e-05/0.2974, allocations: 0 / 0.8295 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.718e-05/0.2975, allocations: 3.938 kB / 0.8296 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.5e-05/0.2976, allocations: 4 kB / 0.8296 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 6.411e-05/0.2976, allocations: 7.938 kB / 0.8296 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.176e-05/0.2977, allocations: 19.98 kB / 0.8296 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.2979, allocations: 11.98 kB / 0.8296 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.401e-05/0.298, allocations: 7.938 kB / 0.8296 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.225e-05/0.298, allocations: 11.98 kB / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.298, allocations: 4 kB / 0.8296 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.354e-06/0.298, allocations: 7.938 kB / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.503e-05/0.2981, allocations: 7.938 kB / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.211e-05/0.2981, allocations: 7.938 kB / 0.8296 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.178e-05/0.2982, allocations: 27.94 kB / 0.8297 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2982, allocations: 0 / 0.8297 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.304e-06/0.2982, allocations: 4 kB / 0.8297 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.2983, allocations: 0 / 0.8297 GB, free: 14.53 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005099/0.2988, allocations: 343.4 kB / 0.83 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.2988, allocations: 8.031 kB / 0.83 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.2989, allocations: 4.844 kB / 0.83 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.299, allocations: 172.3 kB / 0.8302 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.299, allocations: 384 / 0.8302 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.299, allocations: 384 / 0.8302 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.2992, allocations: 50.23 kB / 0.8302 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.2992, allocations: 192 / 0.8302 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.2992, allocations: 7.938 kB / 0.8302 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.2992, allocations: 3.938 kB / 0.8302 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.2994, allocations: 35.91 kB / 0.8303 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003913/0.2998, allocations: 253 kB / 0.8305 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.2999, allocations: 42.48 kB / 0.8306 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.036e-05/0.3, allocations: 28.89 kB / 0.8306 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.417e-06/0.3, allocations: 0 / 0.8306 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.3001, allocations: 30.56 kB / 0.8306 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 4.318e-06/0.3001, allocations: 0 / 0.8306 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003263/0.3004, allocations: 85.59 kB / 0.8307 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.3005, allocations: 59.42 kB / 0.8307 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.891e-05/0.3005, allocations: 97.86 kB / 0.8308 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.3006, allocations: 25.7 kB / 0.8309 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.983e-05/0.3006, allocations: 88.14 kB / 0.8309 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.3006, allocations: 7.922 kB / 0.831 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.384e-05/0.3007, allocations: 13.72 kB / 0.831 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.3008, allocations: 314.8 kB / 0.8313 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.863e-05/0.3009, allocations: 15.98 kB / 0.8313 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.382e-05/0.301, allocations: 19.98 kB / 0.8313 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.3011, allocations: 40.75 kB / 0.8313 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3011, allocations: 256 / 0.8313 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001739/0.3013, allocations: 73.58 kB / 0.8314 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3013, allocations: 7.984 kB / 0.8314 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.3014, allocations: 4 kB / 0.8314 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.3014, allocations: 0 / 0.8314 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.028e-05/0.3015, allocations: 4 kB / 0.8314 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.3015, allocations: 4 kB / 0.8314 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.798e-05/0.3016, allocations: 7.984 kB / 0.8314 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-06/0.3016, allocations: 0 / 0.8314 GB, free: 12.49 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: 1 (lesThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.475e-05/0.3017, allocations: 117.8 kB / 0.8316 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.935e-05/0.3017, allocations: 3.938 kB / 0.8316 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.704e-05/0.3017, allocations: 11.11 kB / 0.8316 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3017, allocations: 0 / 0.8316 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3017, allocations: 0 / 0.8316 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3017, allocations: 0 / 0.8316 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.3019, allocations: 161.6 kB / 0.8317 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3019, allocations: 3.938 kB / 0.8317 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.972e-05/0.302, allocations: 7.984 kB / 0.8317 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.302, allocations: 0 / 0.8317 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.302, allocations: 4 kB / 0.8317 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.302, allocations: 0 / 0.8317 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.302, allocations: 0 / 0.8317 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.3022, allocations: 163.5 kB / 0.8319 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.755e-05/0.3023, allocations: 88.95 kB / 0.832 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.3023, allocations: 0 / 0.832 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.313e-05/0.3024, allocations: 12.02 kB / 0.832 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.3024, allocations: 0 / 0.832 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.3024, allocations: 7.984 kB / 0.832 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.161e-05/0.3025, allocations: 83.28 kB / 0.8321 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3025, allocations: 0 / 0.8321 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001964/0.3027, allocations: 4 kB / 0.8321 GB, free: 11.73 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: 1 (lesThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001557/0.3029, allocations: 99.19 kB / 0.8322 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001967/0.3031, allocations: 43.95 kB / 0.8322 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3031, allocations: 0 / 0.8322 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.085e-05/0.3031, allocations: 19.98 kB / 0.8322 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.3034, allocations: 9.156 kB / 0.8322 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002934/0.3038, allocations: 109.6 kB / 0.8323 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001836/0.3039, allocations: 0.6846 MB / 0.833 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.35e-05/0.304, allocations: 0 / 0.833 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.712e-05/0.304, allocations: 11.38 kB / 0.833 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.304, allocations: 0 / 0.833 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of Templates: time 0.002516/0.3065, allocations: 0.5056 MB / 0.8335 GB, free: 10.2 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1)