Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001578/0.001578, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002191/0.002191, allocations: 193 kB / 16.13 MB, free: 6.652 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.684/1.684, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.745/1.745, allocations: 292.2 MB / 0.5484 GB, free: 13.68 MB / 462.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.001382/0.001382, allocations: 64.8 kB / 0.6708 GB, free: 26.62 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2466, allocations: 114.6 MB / 0.7827 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.003115/0.2497, allocations: 1.972 MB / 0.7846 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001504/0.2513, allocations: 1.015 MB / 0.7856 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.466e-05/0.2514, allocations: 11.88 kB / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003445/0.2517, allocations: 91.69 kB / 0.7857 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000195/0.252, allocations: 87.7 kB / 0.7858 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.2522, allocations: 107.8 kB / 0.7859 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002256/0.2525, allocations: 199.4 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.2526, allocations: 41.67 kB / 0.7861 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.2528, allocations: 79.56 kB / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.2529, allocations: 91.66 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.2529, allocations: 4 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.253, allocations: 55.91 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.05e-05/0.2531, allocations: 47.84 kB / 0.7864 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.863e-05/0.2532, allocations: 83.38 kB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.2535, allocations: 267.3 kB / 0.7867 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2535, allocations: 0 / 0.7867 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.62e-07/0.2535, allocations: 0 / 0.7867 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.2535, allocations: 4 kB / 0.7867 GB, free: 9.82 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007804/0.2543, allocations: 0.5255 MB / 0.7872 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.2544, allocations: 12.03 kB / 0.7873 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.007e-05/0.2544, allocations: 20.66 kB / 0.7873 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003615/0.2548, allocations: 303.7 kB / 0.7876 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.2548, allocations: 12.38 kB / 0.7876 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.2548, allocations: 7.938 kB / 0.7876 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.255, allocations: 85.66 kB / 0.7877 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.255, allocations: 0 / 0.7877 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.2551, allocations: 7.984 kB / 0.7877 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.2551, allocations: 7.938 kB / 0.7877 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.2552, allocations: 35.98 kB / 0.7877 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006486/0.2558, allocations: 424.6 kB / 0.7881 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002352/0.2561, allocations: 78.61 kB / 0.7882 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.892e-05/0.2562, allocations: 28.84 kB / 0.7882 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.2562, allocations: 0 / 0.7882 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/0.2564, allocations: 83.38 kB / 0.7883 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.2564, allocations: 0 / 0.7883 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003541/0.2568, allocations: 137.2 kB / 0.7884 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.2568, allocations: 55.41 kB / 0.7885 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003761/0.2572, allocations: 358.9 kB / 0.7888 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.2572, allocations: 29.7 kB / 0.7889 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.2573, allocations: 144 kB / 0.789 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.2574, allocations: 19.81 kB / 0.789 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.415e-05/0.2574, allocations: 33.7 kB / 0.789 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.2576, allocations: 338.8 kB / 0.7894 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.2577, allocations: 55.97 kB / 0.7894 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.2578, allocations: 77.62 kB / 0.7895 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.258, allocations: 96.59 kB / 0.7896 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.258, allocations: 8 kB / 0.7896 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003124/0.2584, allocations: 189.3 kB / 0.7898 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.2584, allocations: 6.656 kB / 0.7898 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.2584, allocations: 4 kB / 0.7898 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.2584, allocations: 7.875 kB / 0.7898 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.2585, allocations: 19.98 kB / 0.7898 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.2586, allocations: 4 kB / 0.7898 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.2587, allocations: 11.91 kB / 0.7898 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.2587, allocations: 11.92 kB / 0.7898 GB, free: 6.402 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.ram.tab.nextTimeEvent,$whenCondition1,ram.tab.nextTimeEventScaled,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEvent,lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001473/0.2588, allocations: 161.7 kB / 0.79 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.343e-05/0.2589, allocations: 23.72 kB / 0.79 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.402e-05/0.2589, allocations: 25.73 kB / 0.79 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.259, allocations: 3.938 kB / 0.79 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.259, allocations: 0 / 0.79 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.259, allocations: 4 kB / 0.79 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.2592, allocations: 241.5 kB / 0.7903 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2592, allocations: 0 / 0.7903 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.642e-05/0.2592, allocations: 4 kB / 0.7903 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2592, allocations: 4 kB / 0.7903 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.2592, allocations: 0 / 0.7903 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.2593, allocations: 11.94 kB / 0.7903 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2593, allocations: 0 / 0.7903 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.2595, allocations: 136.8 kB / 0.7904 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.264e-05/0.2596, allocations: 100.9 kB / 0.7905 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.294e-05/0.2596, allocations: 4 kB / 0.7905 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.11e-05/0.2597, allocations: 15.92 kB / 0.7905 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.599e-05/0.2598, allocations: 11.98 kB / 0.7906 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.2598, allocations: 4 kB / 0.7906 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002278/0.26, allocations: 229.9 kB / 0.7908 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.26, allocations: 0 / 0.7908 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002646/0.2603, allocations: 44.03 kB / 0.7908 GB, free: 5.305 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,les.y,lesHys.lesHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (ram.tab.nextTimeEventScaled,lesHys.lesHys.y,ram.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009109/0.2612, allocations: 417.2 kB / 0.7912 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002456/0.2615, allocations: 110.8 kB / 0.7913 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2615, allocations: 0 / 0.7913 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.327e-05/0.2616, allocations: 31.98 kB / 0.7914 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.2619, allocations: 47.7 kB / 0.7914 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005901/0.2625, allocations: 421.2 kB / 0.7918 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.2629, allocations: 0.7439 MB / 0.7925 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.653e-05/0.263, allocations: 29.69 kB / 0.7926 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.497e-05/0.263, allocations: 31.42 kB / 0.7926 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of SimCode: time 3.5e-07/0.263, allocations: 0 / 0.7926 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of Templates: time 0.005613/0.2686, allocations: 2.633 MB / 0.7952 GB, free: 0.9805 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1)