Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.205/2.205, allocations: 251.1 MB / 266.7 MB, free: 11.54 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.001414/0.001413, allocations: 176.8 kB / 326.2 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.444/2.444, allocations: 205.4 MB / 0.5772 GB, free: 20.76 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.0009617/0.0009614, allocations: 85.05 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005097/0.0005099, allocations: 11.81 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2724, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2608/0.5332, allocations: 131.3 MB / 1.028 GB, free: 14.07 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004006/0.5337, allocations: 75.95 kB / 1.028 GB, free: 14 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.003049/0.5368, allocations: 0.6581 MB / 1.028 GB, free: 13.34 MB / 0.6824 GB Notification: Performance of FrontEnd: time 3.156e-06/0.5368, allocations: 0 / 1.028 GB, free: 13.34 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.5369, allocations: 0 / 1.028 GB, free: 13.34 MB / 0.6824 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.0006641/0.5375, allocations: 345.8 kB / 1.029 GB, free: 12.95 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/0.5376, allocations: 8.031 kB / 1.029 GB, free: 12.95 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.059e-05/0.5377, allocations: 12.88 kB / 1.029 GB, free: 12.93 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.5379, allocations: 172.3 kB / 1.029 GB, free: 12.73 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.538, allocations: 4.375 kB / 1.029 GB, free: 12.72 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.538, allocations: 384 / 1.029 GB, free: 12.72 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.5382, allocations: 38.25 kB / 1.029 GB, free: 12.68 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.5382, allocations: 4.125 kB / 1.029 GB, free: 12.68 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.593e-05/0.5383, allocations: 7.938 kB / 1.029 GB, free: 12.67 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.5383, allocations: 0 / 1.029 GB, free: 12.67 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.868e-05/0.5384, allocations: 8 kB / 1.029 GB, free: 12.66 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007429/0.5392, allocations: 268.9 kB / 1.029 GB, free: 12.35 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 9.434e-05/0.5393, allocations: 26.52 kB / 1.029 GB, free: 12.31 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.417e-05/0.5393, allocations: 8.922 kB / 1.029 GB, free: 12.3 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.5394, allocations: 0 / 1.029 GB, free: 12.3 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002183/0.5396, allocations: 55.41 kB / 1.029 GB, free: 12.23 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=3): time 4.188e-06/0.5396, allocations: 3.938 kB / 1.029 GB, free: 12.23 MB / 0.6824 GB Notification: Performance of matching and sorting (n=3): time 0.0003077/0.54, allocations: 61.61 kB / 1.029 GB, free: 12.16 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.963e-05/0.5401, allocations: 55.41 kB / 1.029 GB, free: 12.1 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.5403, allocations: 97.86 kB / 1.03 GB, free: 11.99 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.5403, allocations: 29.7 kB / 1.03 GB, free: 11.96 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 8.994e-05/0.5404, allocations: 88.12 kB / 1.03 GB, free: 11.87 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.5405, allocations: 3.906 kB / 1.03 GB, free: 11.86 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-06/0.5405, allocations: 4 kB / 1.03 GB, free: 11.86 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0002184/0.5407, allocations: 318.8 kB / 1.03 GB, free: 11.54 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.752e-05/0.5408, allocations: 4 kB / 1.03 GB, free: 11.54 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.354e-05/0.5409, allocations: 21.7 kB / 1.03 GB, free: 11.51 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.165e-05/0.5409, allocations: 4.281 kB / 1.03 GB, free: 11.5 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.541, allocations: 3.938 kB / 1.03 GB, free: 11.5 MB / 0.6824 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002222/0.5412, allocations: 57.61 kB / 1.03 GB, free: 11.44 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/0.5413, allocations: 12.03 kB / 1.03 GB, free: 11.43 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.5413, allocations: 0 / 1.03 GB, free: 11.43 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.5413, allocations: 0 / 1.03 GB, free: 11.43 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.942e-05/0.5414, allocations: 4 kB / 1.03 GB, free: 11.42 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.5414, allocations: 0 / 1.03 GB, free: 11.42 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.5416, allocations: 4 kB / 1.03 GB, free: 11.42 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.5416, allocations: 3.984 kB / 1.03 GB, free: 11.41 MB / 0.6824 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,assert.u,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001594/0.5418, allocations: 121.7 kB / 1.03 GB, free: 11.29 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.565e-05/0.5419, allocations: 11.91 kB / 1.03 GB, free: 11.27 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.205e-05/0.5419, allocations: 3.5 kB / 1.03 GB, free: 11.27 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.542, allocations: 0 / 1.03 GB, free: 11.27 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.542, allocations: 0 / 1.03 GB, free: 11.27 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.542, allocations: 3.938 kB / 1.03 GB, free: 11.26 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003346/0.5424, allocations: 165.6 kB / 1.03 GB, free: 11.05 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.5424, allocations: 256 / 1.03 GB, free: 11.05 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.158e-05/0.5424, allocations: 4 kB / 1.03 GB, free: 11.05 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.5425, allocations: 0 / 1.03 GB, free: 11.05 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.5425, allocations: 0 / 1.03 GB, free: 11.05 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.5425, allocations: 0 / 1.03 GB, free: 11.05 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.5425, allocations: 4 kB / 1.03 GB, free: 11.04 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.5428, allocations: 77.06 kB / 1.03 GB, free: 10.95 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 7.495e-05/0.5429, allocations: 81.05 kB / 1.031 GB, free: 10.85 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/0.543, allocations: 7.984 kB / 1.031 GB, free: 10.84 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.5431, allocations: 4 kB / 1.031 GB, free: 10.84 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.285e-05/0.5432, allocations: 11.92 kB / 1.031 GB, free: 10.83 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.5432, allocations: 4 kB / 1.031 GB, free: 10.82 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 8.861e-05/0.5433, allocations: 83.28 kB / 1.031 GB, free: 10.74 MB / 0.6824 GB Notification: Performance of sort global known variables: time 8.72e-07/0.5433, allocations: 0 / 1.031 GB, free: 10.74 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0004972/0.5439, allocations: 8 kB / 1.031 GB, free: 10.73 MB / 0.6824 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,assert.u,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001831/0.5441, allocations: 95.25 kB / 1.031 GB, free: 10.63 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0001933/0.5443, allocations: 19.98 kB / 1.031 GB, free: 10.61 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.5443, allocations: 0 / 1.031 GB, free: 10.61 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 6.774e-05/0.5444, allocations: 11.94 kB / 1.031 GB, free: 10.6 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.5448, allocations: 19.98 kB / 1.031 GB, free: 10.58 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005035/0.5453, allocations: 118.6 kB / 1.031 GB, free: 10.44 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.5458, allocations: 0.6809 MB / 1.032 GB, free: 9.73 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 4.714e-05/0.5458, allocations: 3.984 kB / 1.032 GB, free: 9.727 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.935e-05/0.5459, allocations: 15.38 kB / 1.032 GB, free: 9.711 MB / 0.6824 GB Notification: Performance of SimCode: time 1.162e-06/0.5459, allocations: 0 / 1.032 GB, free: 9.711 MB / 0.6824 GB Notification: Performance of Templates: time 0.004138/0.55, allocations: 461.6 kB / 1.032 GB, free: 9.262 MB / 0.6824 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1)