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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.507/1.507, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001027/0.001027, allocations: 168.8 kB / 326.5 MB, free: 2.672 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.658/1.658, allocations: 205 MB / 0.5766 GB, free: 21.01 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009074/0.0009076, allocations: 92.73 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003335/0.0003336, allocations: 14.22 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2441, allocations: 105.4 MB / 0.8968 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.001708/0.2458, allocations: 1.102 MB / 0.8978 GB, free: 67.02 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003131/0.2462, allocations: 112.5 kB / 0.8979 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.328e-05/0.2463, allocations: 3.938 kB / 0.898 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.725e-05/0.2463, allocations: 0 / 0.898 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.526e-05/0.2464, allocations: 0 / 0.898 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.405e-05/0.2465, allocations: 7.984 kB / 0.898 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.494e-05/0.2465, allocations: 27.92 kB / 0.898 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.2467, allocations: 4 kB / 0.898 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.486e-05/0.2467, allocations: 0 / 0.898 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.045e-05/0.2468, allocations: 19.92 kB / 0.898 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.2468, allocations: 4 kB / 0.898 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.755e-06/0.2468, allocations: 0 / 0.898 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/0.2468, allocations: 0 / 0.898 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.637e-05/0.2469, allocations: 11.92 kB / 0.898 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.835e-05/0.2469, allocations: 19.95 kB / 0.898 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.2469, allocations: 0 / 0.898 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.576e-06/0.247, allocations: 0 / 0.898 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.247, allocations: 11.88 kB / 0.8981 GB, free: 66.8 MB / 0.6042 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.0004435/0.2474, allocations: 347.7 kB / 0.8984 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.2475, allocations: 8.031 kB / 0.8984 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.2475, allocations: 0.9375 kB / 0.8984 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.2476, allocations: 172.3 kB / 0.8986 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.2477, allocations: 384 / 0.8986 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.2477, allocations: 384 / 0.8986 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.2479, allocations: 58.23 kB / 0.8986 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.2479, allocations: 4.188 kB / 0.8986 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.2479, allocations: 3.938 kB / 0.8986 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.2479, allocations: 0 / 0.8986 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.2481, allocations: 39.97 kB / 0.8987 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003633/0.2485, allocations: 260.9 kB / 0.8989 GB, free: 65.78 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.2486, allocations: 43.31 kB / 0.899 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.89e-05/0.2487, allocations: 28.84 kB / 0.899 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.2487, allocations: 3.984 kB / 0.899 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.533e-05/0.2487, allocations: 34.56 kB / 0.899 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.2487, allocations: 0 / 0.899 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003237/0.2491, allocations: 97.59 kB / 0.8991 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.2491, allocations: 55.39 kB / 0.8992 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.066e-05/0.2492, allocations: 101.9 kB / 0.8993 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.2492, allocations: 25.7 kB / 0.8993 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.2492, allocations: 92.17 kB / 0.8994 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.2492, allocations: 3.938 kB / 0.8994 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.271e-05/0.2493, allocations: 17.7 kB / 0.8994 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.65e-05/0.2493, allocations: 310.8 kB / 0.8997 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.581e-05/0.2494, allocations: 19.98 kB / 0.8997 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.279e-05/0.2495, allocations: 27.92 kB / 0.8997 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.2496, allocations: 48.81 kB / 0.8998 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2497, allocations: 0 / 0.8998 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001642/0.2498, allocations: 81.61 kB / 0.8999 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.2498, allocations: 4 kB / 0.8999 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2499, allocations: 0 / 0.8999 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.2499, allocations: 7.984 kB / 0.8999 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.292e-05/0.25, allocations: 8 kB / 0.8999 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.25, allocations: 7.969 kB / 0.8999 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.243e-05/0.25, allocations: 19.89 kB / 0.8999 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.247e-06/0.2501, allocations: 0 / 0.8999 GB, free: 64.68 MB / 0.6042 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 5.476e-05/0.2501, allocations: 109.8 kB / 0.9 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/0.2501, allocations: 4 kB / 0.9 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.044e-05/0.2502, allocations: 11.11 kB / 0.9 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.2502, allocations: 0 / 0.9 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.2502, allocations: 4 kB / 0.9 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.2502, allocations: 0 / 0.9 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.2503, allocations: 157.9 kB / 0.9002 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2503, allocations: 0 / 0.9002 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.009e-05/0.2504, allocations: 15.98 kB / 0.9002 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2504, allocations: 0 / 0.9002 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.2504, allocations: 4 kB / 0.9002 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.2504, allocations: 0 / 0.9002 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2504, allocations: 3.938 kB / 0.9002 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.2506, allocations: 175.5 kB / 0.9004 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.866e-05/0.2506, allocations: 77.11 kB / 0.9004 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.2506, allocations: 0 / 0.9004 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.414e-05/0.2507, allocations: 20.02 kB / 0.9005 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/0.2508, allocations: 3.984 kB / 0.9005 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.2508, allocations: 0 / 0.9005 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.399e-05/0.2508, allocations: 83.27 kB / 0.9005 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.2508, allocations: 0 / 0.9005 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001883/0.251, allocations: 11.91 kB / 0.9006 GB, free: 63.92 MB / 0.6042 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.0001826/0.2512, allocations: 103.2 kB / 0.9007 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002147/0.2514, allocations: 51.89 kB / 0.9007 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2514, allocations: 0 / 0.9007 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.925e-05/0.2515, allocations: 28.05 kB / 0.9007 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.2518, allocations: 7.938 kB / 0.9007 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003285/0.2522, allocations: 137 kB / 0.9009 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001628/0.2523, allocations: 0.677 MB / 0.9015 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.914e-05/0.2524, allocations: 11.38 kB / 0.9015 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of SimCode: time 5.21e-07/0.2524, allocations: 0 / 0.9015 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of Templates: time 0.001809/0.2542, allocations: 0.565 MB / 0.9021 GB, free: 62.28 MB / 0.6042 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)