Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.691/2.691, allocations: 287.3 MB / 302.3 MB, free: 8.359 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001639/0.001639, allocations: 186.8 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.313/2.313, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001131/0.00113, allocations: 86.03 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005069/0.0005069, allocations: 13.17 kB / 0.8656 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2223, allocations: 115.3 MB / 0.9782 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.00103/0.2234, allocations: 490 kB / 0.9787 GB, free: 27.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001981/0.2254, allocations: 1.278 MB / 0.9799 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.879e-05/0.2255, allocations: 4 kB / 0.9799 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.652e-05/0.2256, allocations: 7.875 kB / 0.9799 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.801e-05/0.2257, allocations: 11.97 kB / 0.9799 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.2267, allocations: 268.4 kB / 0.9802 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003017/0.227, allocations: 179.7 kB / 0.9804 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.2272, allocations: 41.08 kB / 0.9804 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.2274, allocations: 131.8 kB / 0.9805 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000175/0.2276, allocations: 111.6 kB / 0.9806 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.69e-05/0.2277, allocations: 20 kB / 0.9807 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.2278, allocations: 27.98 kB / 0.9807 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.523e-05/0.2279, allocations: 55.8 kB / 0.9807 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.228, allocations: 57.64 kB / 0.9808 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003039/0.2283, allocations: 231.7 kB / 0.981 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.2283, allocations: 0 / 0.981 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2283, allocations: 0 / 0.981 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.2283, allocations: 4 kB / 0.981 GB, free: 25.5 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0007163/0.2291, allocations: 478.3 kB / 0.9815 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.2291, allocations: 16.02 kB / 0.9815 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.2292, allocations: 23.89 kB / 0.9815 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008785/0.2301, allocations: 274.6 kB / 0.9818 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.895e-05/0.2302, allocations: 23.98 kB / 0.9818 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.794e-05/0.2303, allocations: 39.98 kB / 0.9818 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000507/0.2308, allocations: 202.8 kB / 0.982 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.2309, allocations: 0 / 0.982 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.479e-05/0.2309, allocations: 15.97 kB / 0.982 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.2309, allocations: 4 kB / 0.982 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002942/0.2312, allocations: 103.8 kB / 0.9821 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.2324, allocations: 0.5586 MB / 0.9827 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006633/0.2331, allocations: 267.6 kB / 0.9829 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.2331, allocations: 8 kB / 0.983 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009802/0.2341, allocations: 482.6 kB / 0.9834 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=44): time 3.125e-06/0.2341, allocations: 0 / 0.9834 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44): time 0.001456/0.2356, allocations: 0.5674 MB / 0.984 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.2357, allocations: 55.41 kB / 0.984 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.2358, allocations: 152 kB / 0.9842 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001479/0.236, allocations: 57.69 kB / 0.9842 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.995e-05/0.2361, allocations: 117.1 kB / 0.9843 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.319e-05/0.2362, allocations: 102.8 kB / 0.9844 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.325e-05/0.2363, allocations: 15.94 kB / 0.9844 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.587e-05/0.2364, allocations: 338.8 kB / 0.9848 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004665/0.2368, allocations: 173.1 kB / 0.9849 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005216/0.2374, allocations: 277.8 kB / 0.9852 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003972/0.2378, allocations: 193.6 kB / 0.9854 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.2378, allocations: 4 kB / 0.9854 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001223/0.239, allocations: 0.5564 MB / 0.9859 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.918e-05/0.2391, allocations: 67.39 kB / 0.986 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.2391, allocations: 4 kB / 0.986 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/0.2392, allocations: 4 kB / 0.986 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.2393, allocations: 28.23 kB / 0.986 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/0.2393, allocations: 12 kB / 0.986 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007073/0.24, allocations: 99.62 kB / 0.9861 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.515e-05/0.2401, allocations: 31.98 kB / 0.9862 GB, free: 19.92 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 70 ($PRE.falCleTruIni.y,$PRE.truCleTruIni.y,$PRE.falCleFalIni.y,$PRE.truCleFalIni.y,$PRE.swiCleInp.y,$PRE.swiCleInp1.y,$whenCondition27,$whenCondition28,$whenCondition25,$whenCondition26,tru.y,fal.y,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$PRE.falCleTruIni.u,falCleTruIni.u,falCleTruIni.y,$PRE.truCleTruIni.u,truCleTruIni.u,truCleTruIni.y,$PRE.falCleFalIni.u,falCleFalIni.u,falCleFalIni.y,$PRE.truCleFalIni.u,truCleFalIni.u,truCleFalIni.y,$PRE.swiCleInp.u,swiCleInp.u,$PRE.swiCleInp.clr,swiCleInp.clr,swiCleInp.y,$PRE.swiCleInp1.u,swiCleInp1.u,$PRE.swiCleInp1.clr,swiCleInp1.clr,swiCleInp1.y,$PRE.cleInp.y,cleInp.y,$PRE.latInp.y,latInp.y,$PRE.falCleFalIni.clr,falCleFalIni.clr,$PRE.falCleTruIni.clr,falCleTruIni.clr,$PRE.truCleFalIni.clr,truCleFalIni.clr,$PRE.truCleTruIni.clr,truCleTruIni.clr) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * 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.0002613/0.2404, allocations: 177 kB / 0.9863 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.601e-05/0.2405, allocations: 31.67 kB / 0.9864 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.2406, allocations: 30.31 kB / 0.9864 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/0.2406, allocations: 8 kB / 0.9864 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.2406, allocations: 4 kB / 0.9864 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.2406, allocations: 3.984 kB / 0.9864 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/0.2421, allocations: 0.8469 MB / 0.9872 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.2421, allocations: 0 / 0.9872 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.912e-05/0.2422, allocations: 19.92 kB / 0.9873 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.2422, allocations: 0 / 0.9873 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.445e-05/0.2422, allocations: 19.97 kB / 0.9873 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.2423, allocations: 4 kB / 0.9873 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2423, allocations: 0 / 0.9873 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009932/0.2433, allocations: 0.5345 MB / 0.9878 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.025e-05/0.2434, allocations: 100.8 kB / 0.9879 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.2435, allocations: 27.98 kB / 0.9879 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.2437, allocations: 11.98 kB / 0.9879 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000199/0.2439, allocations: 63.88 kB / 0.988 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.178e-05/0.244, allocations: 27.97 kB / 0.988 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.173e-05/0.244, allocations: 99.27 kB / 0.9881 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2441, allocations: 7.938 kB / 0.9881 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005951/0.2447, allocations: 91.98 kB / 0.9882 GB, free: 17.73 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 44 ($whenCondition27,$whenCondition28,$whenCondition25,$whenCondition26,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,falCleTruIni.u,falCleTruIni.y,truCleTruIni.u,truCleTruIni.y,falCleFalIni.u,falCleFalIni.y,truCleFalIni.u,truCleFalIni.y,swiCleInp.u,swiCleInp.clr,swiCleInp.y,swiCleInp1.u,swiCleInp1.clr,swiCleInp1.y,cleInp.y,latInp.y) * Number of discrete states: 14 (falCleFalIni.u,falCleTruIni.u,truCleTruIni.u,truCleFalIni.u,swiCleInp1.u,swiCleInp1.clr,swiCleInp.u,swiCleInp.clr,swiCleInp1.y,swiCleInp.y,truCleFalIni.y,falCleFalIni.y,truCleTruIni.y,falCleTruIni.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * 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.0002543/0.2449, allocations: 147.1 kB / 0.9884 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001151/0.2461, allocations: 0.5486 MB / 0.9889 GB, free: 17 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.2461, allocations: 0 / 0.9889 GB, free: 17 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004633/0.2466, allocations: 252.1 kB / 0.9891 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.247, allocations: 35.02 kB / 0.9892 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.2481, allocations: 482 kB / 0.9896 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/0.2484, allocations: 0.7413 MB / 0.9903 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002022/0.2486, allocations: 34.97 kB / 0.9904 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.2488, allocations: 47.41 kB / 0.9904 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of SimCode: time 1.443e-06/0.2488, allocations: 0 / 0.9904 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of Templates: time 0.0127/0.2615, allocations: 3.993 MB / 0.9943 GB, free: 11.41 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1)