Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.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.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001037, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001081/0.001082, allocations: 177.3 kB / 15.95 MB, free: 216 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.599/1.599, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.712/1.712, allocations: 292.5 MB / 0.5497 GB, free: 14.61 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.0005888/0.000589, allocations: 14.22 kB / 0.6736 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2768, allocations: 116.3 MB / 0.7871 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.00118/0.2781, allocations: 487.3 kB / 0.7876 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001924/0.28, allocations: 1.281 MB / 0.7888 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.161e-05/0.2802, allocations: 0 / 0.7888 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.705e-05/0.2802, allocations: 3.938 kB / 0.7888 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.2803, allocations: 15.97 kB / 0.7889 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009012/0.2812, allocations: 272.5 kB / 0.7891 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003257/0.2815, allocations: 183.7 kB / 0.7893 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001852/0.2817, allocations: 44.86 kB / 0.7893 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002917/0.282, allocations: 127.8 kB / 0.7895 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00024/0.2823, allocations: 111.6 kB / 0.7896 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.182e-05/0.2824, allocations: 20 kB / 0.7896 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.2825, allocations: 35.92 kB / 0.7896 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.675e-05/0.2826, allocations: 47.88 kB / 0.7897 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.764e-05/0.2827, allocations: 61.64 kB / 0.7897 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002969/0.283, allocations: 227.7 kB / 0.7899 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.283, allocations: 4 kB / 0.7899 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.744e-06/0.283, allocations: 0 / 0.7899 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.283, allocations: 0 / 0.7899 GB, free: 9.02 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0007517/0.2838, allocations: 482.3 kB / 0.7904 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.2839, allocations: 8.031 kB / 0.7904 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001397/0.284, allocations: 31.89 kB / 0.7904 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006601/0.2847, allocations: 274.6 kB / 0.7907 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.903e-05/0.2847, allocations: 19.98 kB / 0.7907 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.323e-05/0.2848, allocations: 35.98 kB / 0.7908 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003865/0.2852, allocations: 209.3 kB / 0.791 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.2852, allocations: 0 / 0.791 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.724e-05/0.2853, allocations: 27.95 kB / 0.791 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.2853, allocations: 0 / 0.791 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001956/0.2855, allocations: 95.94 kB / 0.7911 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009942/0.2865, allocations: 0.5625 MB / 0.7916 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004297/0.2869, allocations: 268.5 kB / 0.7919 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.287, allocations: 3.953 kB / 0.7919 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007072/0.2877, allocations: 494.5 kB / 0.7924 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=44): time 1.774e-06/0.2877, allocations: 0 / 0.7924 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of matching and sorting (n=44): time 0.0009962/0.2887, allocations: 0.5597 MB / 0.7929 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.638e-05/0.2888, allocations: 67.36 kB / 0.793 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.2889, allocations: 152.6 kB / 0.7931 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.394e-05/0.289, allocations: 61.69 kB / 0.7932 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.2891, allocations: 113.2 kB / 0.7933 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.302e-05/0.2892, allocations: 102.8 kB / 0.7934 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-05/0.2893, allocations: 12 kB / 0.7934 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.2894, allocations: 338.8 kB / 0.7937 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002935/0.2897, allocations: 169.1 kB / 0.7939 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003705/0.2901, allocations: 277.8 kB / 0.7941 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002992/0.2904, allocations: 193.5 kB / 0.7943 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2904, allocations: 0 / 0.7943 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008379/0.2913, allocations: 0.5565 MB / 0.7949 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.174e-05/0.2913, allocations: 71.39 kB / 0.7949 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.2913, allocations: 0 / 0.7949 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.2914, allocations: 8 kB / 0.7949 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.946e-05/0.2914, allocations: 27.86 kB / 0.795 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.2915, allocations: 7.938 kB / 0.795 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004132/0.2919, allocations: 99.97 kB / 0.7951 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.885e-05/0.2919, allocations: 27.98 kB / 0.7951 GB, free: 3.438 MB / 0.6075 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.0002074/0.2922, allocations: 182.9 kB / 0.7953 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.312e-05/0.2922, allocations: 31.67 kB / 0.7953 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.914e-05/0.2923, allocations: 34.31 kB / 0.7953 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.2923, allocations: 4 kB / 0.7953 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.2923, allocations: 0 / 0.7953 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.2923, allocations: 3.984 kB / 0.7953 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.2934, allocations: 0.8392 MB / 0.7962 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.2934, allocations: 3.953 kB / 0.7962 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.853e-05/0.2934, allocations: 15.92 kB / 0.7962 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.2934, allocations: 4 kB / 0.7962 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.619e-05/0.2935, allocations: 23.97 kB / 0.7962 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.2935, allocations: 4 kB / 0.7962 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2935, allocations: 0 / 0.7962 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007165/0.2942, allocations: 0.5341 MB / 0.7967 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.724e-05/0.2943, allocations: 96.81 kB / 0.7968 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.853e-05/0.2944, allocations: 23.98 kB / 0.7969 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.929e-05/0.2945, allocations: 11.98 kB / 0.7969 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.2946, allocations: 71.81 kB / 0.7969 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.129e-05/0.2947, allocations: 39.91 kB / 0.797 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.629e-05/0.2947, allocations: 95.27 kB / 0.7971 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2947, allocations: 0 / 0.7971 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003833/0.2951, allocations: 99.98 kB / 0.7972 GB, free: 1.23 MB / 0.6075 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.0002324/0.2954, allocations: 139.2 kB / 0.7973 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008325/0.2962, allocations: 0.5532 MB / 0.7978 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2962, allocations: 0 / 0.7978 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003278/0.2965, allocations: 259.7 kB / 0.7981 GB, free: 256 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.2968, allocations: 23.98 kB / 0.7981 GB, free: 232 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008491/0.2977, allocations: 470.4 kB / 0.7986 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.298, allocations: 0.7413 MB / 0.7993 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001154/0.2982, allocations: 34.97 kB / 0.7993 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.2983, allocations: 43.41 kB / 0.7993 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of SimCode: time 9.42e-07/0.2983, allocations: 8 kB / 0.7994 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of Templates: time 0.007983/0.3063, allocations: 3.996 MB / 0.8033 GB, free: 10.91 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) Environment - environmentSimulation: