Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007397/0.0007397, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004856/0.004856, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.292/1.292, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.7/1.7, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.000531/0.0005312, allocations: 16.7 kB / 0.6743 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2258, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001113/0.2269, allocations: 0.5956 MB / 0.7885 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009067/0.2278, allocations: 0.8671 MB / 0.7893 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.032e-05/0.2279, allocations: 0 / 0.7893 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.031e-05/0.2279, allocations: 7.922 kB / 0.7893 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.297e-05/0.228, allocations: 19.86 kB / 0.7893 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001509/0.2282, allocations: 31.97 kB / 0.7894 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.2283, allocations: 103.6 kB / 0.7895 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.2284, allocations: 45.08 kB / 0.7895 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.845e-05/0.2285, allocations: 31.86 kB / 0.7895 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.001e-05/0.2286, allocations: 39.78 kB / 0.7896 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.2287, allocations: 4 kB / 0.7896 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.426e-05/0.2287, allocations: 4 kB / 0.7896 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.308e-05/0.2287, allocations: 15.91 kB / 0.7896 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.944e-05/0.2288, allocations: 65.44 kB / 0.7897 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.2289, allocations: 115.8 kB / 0.7898 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2289, allocations: 3.984 kB / 0.7898 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.233e-06/0.2289, allocations: 0 / 0.7898 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.2289, allocations: 0 / 0.7898 GB, free: 9.609 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008399/0.2298, allocations: 459.1 kB / 0.7902 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.2298, allocations: 8.031 kB / 0.7902 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.2299, allocations: 12.84 kB / 0.7902 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.23, allocations: 184.1 kB / 0.7904 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.2301, allocations: 4.375 kB / 0.7904 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.2301, allocations: 12.31 kB / 0.7904 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.2303, allocations: 102.1 kB / 0.7905 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.2303, allocations: 4.188 kB / 0.7905 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.2304, allocations: 3.938 kB / 0.7905 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.2304, allocations: 0 / 0.7905 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001909/0.2306, allocations: 83.83 kB / 0.7906 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007522/0.2313, allocations: 420.4 kB / 0.791 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.2315, allocations: 58.56 kB / 0.7911 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.365e-05/0.2316, allocations: 36.97 kB / 0.7911 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.2316, allocations: 4 kB / 0.7911 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.2317, allocations: 34.56 kB / 0.7911 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.051e-06/0.2317, allocations: 0 / 0.7911 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0003583/0.232, allocations: 125.5 kB / 0.7913 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.2321, allocations: 55.41 kB / 0.7913 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.2322, allocations: 158.4 kB / 0.7915 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.2322, allocations: 25.7 kB / 0.7915 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.874e-05/0.2323, allocations: 104 kB / 0.7916 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.2323, allocations: 15.81 kB / 0.7916 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.944e-05/0.2324, allocations: 13.72 kB / 0.7916 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.2325, allocations: 322.8 kB / 0.7919 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.705e-05/0.2326, allocations: 35.98 kB / 0.792 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.967e-05/0.2327, allocations: 35.97 kB / 0.792 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.2328, allocations: 48.84 kB / 0.792 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2328, allocations: 4 kB / 0.7921 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002093/0.233, allocations: 109.5 kB / 0.7922 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.2331, allocations: 8 kB / 0.7922 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.2331, allocations: 0 / 0.7922 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.2331, allocations: 0 / 0.7922 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.018e-05/0.2332, allocations: 11.98 kB / 0.7922 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.2332, allocations: 8.188 kB / 0.7922 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.2334, allocations: 32.05 kB / 0.7922 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.2334, allocations: 8 kB / 0.7922 GB, free: 6.883 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.587e-05/0.2335, allocations: 122.5 kB / 0.7923 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.2335, allocations: 7.906 kB / 0.7923 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.091e-05/0.2336, allocations: 20.3 kB / 0.7924 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.2336, allocations: 0 / 0.7924 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2336, allocations: 3.938 kB / 0.7924 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.2336, allocations: 0 / 0.7924 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.2338, allocations: 197.6 kB / 0.7926 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.2338, allocations: 3.984 kB / 0.7926 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.586e-05/0.2338, allocations: 19.86 kB / 0.7926 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2339, allocations: 4 kB / 0.7926 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.2339, allocations: 3.938 kB / 0.7926 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2339, allocations: 0 / 0.7926 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.2339, allocations: 3.938 kB / 0.7926 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.2341, allocations: 199.3 kB / 0.7928 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.476e-05/0.2342, allocations: 81.02 kB / 0.7929 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.2342, allocations: 4 kB / 0.7929 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.2344, allocations: 31.97 kB / 0.7929 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.416e-05/0.2345, allocations: 19.91 kB / 0.7929 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.2345, allocations: 4 kB / 0.7929 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.054e-05/0.2346, allocations: 117.7 kB / 0.793 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2346, allocations: 0 / 0.793 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002203/0.2348, allocations: 16 kB / 0.793 GB, free: 5.941 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.81e-05/0.2349, allocations: 99.42 kB / 0.7931 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002141/0.2351, allocations: 75.95 kB / 0.7932 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2351, allocations: 4 kB / 0.7932 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.25e-05/0.2352, allocations: 35.97 kB / 0.7932 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.2355, allocations: 15.94 kB / 0.7933 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003798/0.2359, allocations: 239.1 kB / 0.7935 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.2361, allocations: 0.7043 MB / 0.7942 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.245e-05/0.2362, allocations: 7.984 kB / 0.7942 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.813e-05/0.2362, allocations: 7.438 kB / 0.7942 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of SimCode: time 4.31e-07/0.2362, allocations: 4 kB / 0.7942 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of Templates: time 0.003244/0.2395, allocations: 1.089 MB / 0.7953 GB, free: 3.625 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) Environment - environmentSimulation: