Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007333/0.0007333, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0007829/0.0007829, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.351/1.351, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.677/1.677, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005183/0.0005184, allocations: 13.31 kB / 0.6737 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2349, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.0009638/0.2359, allocations: 474.1 kB / 0.7877 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001715/0.2377, allocations: 1.239 MB / 0.789 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.039e-05/0.2378, allocations: 0 / 0.789 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.972e-05/0.2378, allocations: 7.938 kB / 0.789 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.2379, allocations: 15.91 kB / 0.789 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007475/0.2387, allocations: 212.1 kB / 0.7892 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002459/0.2389, allocations: 211.5 kB / 0.7894 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.909e-05/0.239, allocations: 20.22 kB / 0.7894 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.2392, allocations: 83.86 kB / 0.7895 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.2393, allocations: 71.77 kB / 0.7896 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.592e-05/0.2394, allocations: 12 kB / 0.7896 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.643e-05/0.2395, allocations: 31.92 kB / 0.7896 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.943e-05/0.2395, allocations: 23.97 kB / 0.7896 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.53e-05/0.2396, allocations: 53.64 kB / 0.7897 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.2398, allocations: 159.8 kB / 0.7898 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2398, allocations: 0 / 0.7898 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2398, allocations: 0 / 0.7898 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.2398, allocations: 4 kB / 0.7898 GB, free: 9.34 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000708/0.2406, allocations: 462.5 kB / 0.7903 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.2406, allocations: 12.03 kB / 0.7903 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.2407, allocations: 19.89 kB / 0.7903 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005855/0.2413, allocations: 262.7 kB / 0.7905 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.895e-05/0.2414, allocations: 15.98 kB / 0.7906 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.486e-05/0.2414, allocations: 16 kB / 0.7906 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002562/0.2417, allocations: 133.3 kB / 0.7907 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.2417, allocations: 4 kB / 0.7907 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.2417, allocations: 4 kB / 0.7907 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.2417, allocations: 4 kB / 0.7907 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.2419, allocations: 59.89 kB / 0.7908 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007798/0.2427, allocations: 0.5279 MB / 0.7913 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.2429, allocations: 157.2 kB / 0.7914 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.972e-05/0.243, allocations: 65.69 kB / 0.7915 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.2431, allocations: 4 kB / 0.7915 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003599/0.2434, allocations: 206.1 kB / 0.7917 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 1.633e-06/0.2434, allocations: 4 kB / 0.7917 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22): time 0.0005411/0.244, allocations: 309.4 kB / 0.792 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.924e-05/0.2441, allocations: 89.25 kB / 0.7921 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.2442, allocations: 138 kB / 0.7922 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.475e-05/0.2443, allocations: 41.64 kB / 0.7923 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.85e-05/0.2443, allocations: 96.69 kB / 0.7924 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.86e-05/0.2444, allocations: 51.34 kB / 0.7924 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-05/0.2445, allocations: 8 kB / 0.7924 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.2446, allocations: 326.8 kB / 0.7927 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/0.2448, allocations: 88.23 kB / 0.7928 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.245, allocations: 148.2 kB / 0.7929 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.2452, allocations: 143.3 kB / 0.7931 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.2452, allocations: 4 kB / 0.7931 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005469/0.2458, allocations: 356.6 kB / 0.7934 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.075e-05/0.2459, allocations: 63.39 kB / 0.7935 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.2459, allocations: 8.203 kB / 0.7935 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.2459, allocations: 8 kB / 0.7935 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.275e-05/0.246, allocations: 23.92 kB / 0.7935 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.246, allocations: 8.062 kB / 0.7935 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003369/0.2464, allocations: 91.73 kB / 0.7936 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.178e-05/0.2464, allocations: 15.98 kB / 0.7936 GB, free: 5.109 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y,$PRE.thrTim1.passed,thrTim1.passed,$whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.thrTim1.entryTime,thrTim1.entryTime,$PRE.booPul1.y,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001468/0.2465, allocations: 144 kB / 0.7938 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.2466, allocations: 11.91 kB / 0.7938 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.897e-05/0.2466, allocations: 16.5 kB / 0.7938 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.2466, allocations: 4 kB / 0.7938 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.2467, allocations: 3.984 kB / 0.7938 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.2467, allocations: 0 / 0.7938 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00062/0.2473, allocations: 0.615 MB / 0.7944 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2473, allocations: 0 / 0.7944 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.419e-05/0.2473, allocations: 11.98 kB / 0.7944 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.2474, allocations: 4 kB / 0.7944 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.2474, allocations: 8 kB / 0.7944 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.2474, allocations: 3.984 kB / 0.7944 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.2474, allocations: 3.938 kB / 0.7944 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004101/0.2478, allocations: 420.4 kB / 0.7948 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.507e-05/0.2479, allocations: 92.94 kB / 0.7949 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.852e-05/0.2479, allocations: 4 kB / 0.7949 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.2481, allocations: 19.98 kB / 0.7949 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.216e-05/0.2481, allocations: 23.95 kB / 0.795 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.2482, allocations: 23.94 kB / 0.795 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.824e-05/0.2482, allocations: 94.52 kB / 0.7951 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2482, allocations: 0 / 0.7951 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000359/0.2486, allocations: 59.91 kB / 0.7951 GB, free: 3.469 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001904/0.2488, allocations: 130.9 kB / 0.7953 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004902/0.2493, allocations: 346.6 kB / 0.7956 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.2493, allocations: 0 / 0.7956 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.2495, allocations: 107.9 kB / 0.7957 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.2498, allocations: 27.97 kB / 0.7957 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005248/0.2504, allocations: 297 kB / 0.796 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.2507, allocations: 0.7086 MB / 0.7967 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.911e-05/0.2507, allocations: 17.55 kB / 0.7967 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.2508, allocations: 19.42 kB / 0.7967 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.2508, allocations: 0 / 0.7967 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of Templates: time 0.005482/0.2563, allocations: 2.38 MB / 0.7991 GB, free: 15.39 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) Environment - environmentSimulation: