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.006628/0.006628, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001362/0.001362, allocations: 193.5 kB / 16.67 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.776/1.776, allocations: 205.1 MB / 222.6 MB, free: 4.492 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.679/1.679, allocations: 251.7 MB / 0.5094 GB, free: 2.977 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.001782/0.001782, allocations: 72.47 kB / 0.7258 GB, free: 8.93 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2929, allocations: 104.7 MB / 0.8281 GB, free: 112 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.003234/0.2962, allocations: 1.364 MB / 0.8294 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003781/0.2966, allocations: 112.9 kB / 0.8296 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.271e-05/0.2967, allocations: 4 kB / 0.8296 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.499e-05/0.2967, allocations: 0 / 0.8296 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.912e-05/0.2968, allocations: 7.938 kB / 0.8296 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 6.187e-05/0.2969, allocations: 4 kB / 0.8296 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.461e-05/0.297, allocations: 23.92 kB / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.2972, allocations: 4 kB / 0.8296 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.326e-05/0.2973, allocations: 15.92 kB / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.684e-05/0.2973, allocations: 7.984 kB / 0.8296 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.2973, allocations: 0 / 0.8296 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.107e-06/0.2974, allocations: 4 kB / 0.8296 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.471e-05/0.2974, allocations: 7.938 kB / 0.8296 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.37e-05/0.2974, allocations: 15.94 kB / 0.8296 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.2976, allocations: 31.92 kB / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2976, allocations: 0 / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2976, allocations: 0 / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.2976, allocations: 0 / 0.8297 GB, free: 14.5 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.0005918/0.2982, allocations: 339.4 kB / 0.83 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 7.69e-05/0.2983, allocations: 8.031 kB / 0.83 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.217e-05/0.2983, allocations: 12.83 kB / 0.83 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.2985, allocations: 168.3 kB / 0.8302 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.2986, allocations: 4.375 kB / 0.8302 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.2986, allocations: 4.375 kB / 0.8302 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.2988, allocations: 50.19 kB / 0.8302 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.2988, allocations: 192 / 0.8302 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.2988, allocations: 3.938 kB / 0.8302 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.2988, allocations: 0 / 0.8302 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001639/0.299, allocations: 43.89 kB / 0.8303 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003952/0.2994, allocations: 249 kB / 0.8305 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.2996, allocations: 42.44 kB / 0.8306 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.407e-05/0.2997, allocations: 20.91 kB / 0.8306 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.2997, allocations: 0 / 0.8306 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.2997, allocations: 42.55 kB / 0.8306 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.2997, allocations: 0 / 0.8306 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003546/0.3001, allocations: 77.56 kB / 0.8307 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.3001, allocations: 51.41 kB / 0.8307 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.11e-05/0.3002, allocations: 105.8 kB / 0.8308 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.3003, allocations: 29.64 kB / 0.8309 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.891e-05/0.3003, allocations: 88.27 kB / 0.831 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.3003, allocations: 3.938 kB / 0.831 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.3004, allocations: 17.7 kB / 0.831 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.3005, allocations: 314.8 kB / 0.8313 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.103e-05/0.3006, allocations: 15.98 kB / 0.8313 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.163e-05/0.3007, allocations: 15.98 kB / 0.8313 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.3008, allocations: 40.88 kB / 0.8313 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3008, allocations: 4 kB / 0.8313 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001976/0.301, allocations: 65.52 kB / 0.8314 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3011, allocations: 4 kB / 0.8314 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.3011, allocations: 4 kB / 0.8314 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.3011, allocations: 0 / 0.8314 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.3012, allocations: 16.2 kB / 0.8314 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.3012, allocations: 0 / 0.8314 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.839e-05/0.3013, allocations: 11.98 kB / 0.8314 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.3013, allocations: 0 / 0.8314 GB, free: 12.46 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 8.924e-05/0.3014, allocations: 117.8 kB / 0.8316 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.3014, allocations: 3.938 kB / 0.8316 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.382e-05/0.3015, allocations: 3.125 kB / 0.8316 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3015, allocations: 7.984 kB / 0.8316 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3015, allocations: 4 kB / 0.8316 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3015, allocations: 0 / 0.8316 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.3017, allocations: 157.6 kB / 0.8317 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.654e-06/0.3017, allocations: 0 / 0.8317 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.281e-05/0.3017, allocations: 7.984 kB / 0.8317 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3017, allocations: 0 / 0.8317 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.435e-06/0.3018, allocations: 4 kB / 0.8317 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3018, allocations: 0 / 0.8317 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3018, allocations: 0 / 0.8317 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/0.302, allocations: 171.4 kB / 0.8319 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.719e-05/0.3021, allocations: 81.02 kB / 0.832 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.3021, allocations: 3.938 kB / 0.832 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.223e-05/0.3022, allocations: 7.984 kB / 0.832 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.3022, allocations: 4 kB / 0.832 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.3023, allocations: 0 / 0.832 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.121e-05/0.3023, allocations: 91.3 kB / 0.8321 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.6e-07/0.3023, allocations: 0 / 0.8321 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002192/0.3025, allocations: 4 kB / 0.8321 GB, free: 11.7 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.0001798/0.3027, allocations: 103.2 kB / 0.8322 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002375/0.303, allocations: 35.95 kB / 0.8322 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.303, allocations: 0 / 0.8322 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.679e-05/0.3031, allocations: 27.98 kB / 0.8322 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.3034, allocations: 7.938 kB / 0.8323 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003714/0.3038, allocations: 109.6 kB / 0.8324 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.3041, allocations: 0.6805 MB / 0.833 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.111e-05/0.3041, allocations: 0 / 0.833 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.216e-05/0.3041, allocations: 11.44 kB / 0.833 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of SimCode: time 2e-07/0.3042, allocations: 0 / 0.833 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of Templates: time 0.003099/0.3073, allocations: 497 kB / 0.8335 GB, free: 10.19 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)