Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.705/1.705, allocations: 288.4 MB / 304.3 MB, free: 8.117 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.001125/0.001125, allocations: 190.2 kB / 372.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.818/1.818, allocations: 205.4 MB / 0.6316 GB, free: 9.902 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.0007825/0.0007826, allocations: 90.31 kB / 0.745 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003794/0.0003795, allocations: 13.72 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2015, allocations: 115.3 MB / 0.9808 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.0009362/0.2025, allocations: 486.3 kB / 0.9812 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001456/0.204, allocations: 1.309 MB / 0.9825 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.886e-05/0.204, allocations: 4 kB / 0.9825 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.215e-05/0.2041, allocations: 11.88 kB / 0.9825 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.553e-05/0.2042, allocations: 7.922 kB / 0.9825 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006735/0.2048, allocations: 273.3 kB / 0.9828 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000194/0.205, allocations: 287.6 kB / 0.9831 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.2052, allocations: 52.86 kB / 0.9831 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.2053, allocations: 127.8 kB / 0.9832 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.2054, allocations: 111.6 kB / 0.9833 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.048e-05/0.2055, allocations: 16 kB / 0.9833 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.517e-05/0.2055, allocations: 31.98 kB / 0.9834 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.378e-05/0.2056, allocations: 55.84 kB / 0.9834 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.2057, allocations: 141.3 kB / 0.9836 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.2059, allocations: 235.6 kB / 0.9838 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.2059, allocations: 4 kB / 0.9838 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2059, allocations: 0 / 0.9838 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.2059, allocations: 0 / 0.9838 GB, free: 24.2 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.0005529/0.2065, allocations: 478.5 kB / 0.9843 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.2065, allocations: 8.031 kB / 0.9843 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.227e-05/0.2066, allocations: 24.83 kB / 0.9843 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005593/0.2072, allocations: 275 kB / 0.9845 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.518e-05/0.2072, allocations: 24.36 kB / 0.9846 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.813e-05/0.2073, allocations: 36.36 kB / 0.9846 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003076/0.2076, allocations: 206 kB / 0.9848 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.2076, allocations: 3.938 kB / 0.9848 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.069e-05/0.2077, allocations: 15.97 kB / 0.9848 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.2077, allocations: 7.938 kB / 0.9848 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.2078, allocations: 103.9 kB / 0.9849 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000698/0.2085, allocations: 0.5664 MB / 0.9855 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004051/0.209, allocations: 258.7 kB / 0.9857 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.2091, allocations: 112.8 kB / 0.9858 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.2092, allocations: 0 / 0.9858 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000575/0.2097, allocations: 486.5 kB / 0.9863 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=44): time 2.936e-06/0.2097, allocations: 3.984 kB / 0.9863 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44): time 0.0008/0.2106, allocations: 0.5712 MB / 0.9869 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.2106, allocations: 63.41 kB / 0.9869 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.845e-05/0.2107, allocations: 163.2 kB / 0.9871 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.111e-05/0.2107, allocations: 53.7 kB / 0.9871 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.9e-05/0.2108, allocations: 108.9 kB / 0.9872 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.68e-05/0.2109, allocations: 102.8 kB / 0.9873 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.2109, allocations: 16 kB / 0.9873 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.548e-05/0.211, allocations: 334.8 kB / 0.9877 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/0.2112, allocations: 165.1 kB / 0.9878 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002958/0.2115, allocations: 285.8 kB / 0.9881 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003418/0.2119, allocations: 369.1 kB / 0.9884 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2119, allocations: 0 / 0.9884 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006591/0.2126, allocations: 0.5448 MB / 0.989 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.014e-05/0.2126, allocations: 71.39 kB / 0.989 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.2126, allocations: 384 / 0.989 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.2127, allocations: 12 kB / 0.9891 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.072e-05/0.2127, allocations: 27.86 kB / 0.9891 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.2128, allocations: 11.88 kB / 0.9891 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003613/0.2131, allocations: 99.62 kB / 0.9892 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.004e-05/0.2132, allocations: 35.97 kB / 0.9892 GB, free: 18.29 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.0001324/0.2133, allocations: 178.9 kB / 0.9894 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.312e-05/0.2133, allocations: 27.72 kB / 0.9894 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.242e-05/0.2134, allocations: 42.3 kB / 0.9895 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.2134, allocations: 3.938 kB / 0.9895 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2134, allocations: 3.938 kB / 0.9895 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.061e-05/0.2135, allocations: 88.92 kB / 0.9896 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.213e-05/0.2135, allocations: 23.98 kB / 0.9896 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.977e-05/0.2136, allocations: 7.984 kB / 0.9896 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.2137, allocations: 75.81 kB / 0.9897 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005369/0.2143, allocations: 0.5099 MB / 0.9902 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005204/0.2148, allocations: 0.6196 MB / 0.9908 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002132/0.215, allocations: 232.3 kB / 0.991 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.021e-05/0.2151, allocations: 100.5 kB / 0.9911 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of Backend: time 3.71e-07/0.2151, allocations: 0 / 0.9911 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007721/0.2159, allocations: 0.512 MB / 0.9916 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0005615/0.2164, allocations: 0.7993 MB / 0.9924 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of Templates: time 0.00642/0.2229, allocations: 4.151 MB / 0.9964 GB, free: 10.81 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1)