Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.459/1.459, allocations: 252 MB / 267.6 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 183.3 kB / 327.3 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.733/1.733, allocations: 205.4 MB / 0.5783 GB, free: 20.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009041/0.0009041, allocations: 96.36 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003523/0.0003527, allocations: 9 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2252, allocations: 106.3 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001686/0.2269, allocations: 1.285 MB / 0.9021 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004441/0.2274, allocations: 184.3 kB / 0.9023 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.089e-05/0.2275, allocations: 4 kB / 0.9023 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.404e-05/0.2275, allocations: 3.938 kB / 0.9023 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.525e-05/0.2277, allocations: 19.84 kB / 0.9023 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000158/0.2278, allocations: 23.97 kB / 0.9023 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.2279, allocations: 95.7 kB / 0.9024 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.2281, allocations: 45.06 kB / 0.9024 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.2282, allocations: 31.86 kB / 0.9025 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.634e-05/0.2283, allocations: 43.77 kB / 0.9025 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.2283, allocations: 4 kB / 0.9025 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.424e-05/0.2283, allocations: 4 kB / 0.9025 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.716e-05/0.2283, allocations: 15.91 kB / 0.9025 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.823e-05/0.2284, allocations: 41.64 kB / 0.9026 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.2285, allocations: 87.78 kB / 0.9027 GB, free: 62 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.2285, allocations: 0 / 0.9027 GB, free: 62 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.492e-06/0.2285, allocations: 0 / 0.9027 GB, free: 62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.2285, allocations: 0 / 0.9027 GB, free: 62 MB / 0.6042 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.0007976/0.2293, allocations: 463.1 kB / 0.9031 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.2294, allocations: 8.031 kB / 0.9031 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.121e-05/0.2294, allocations: 19.81 kB / 0.9031 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.2296, allocations: 189.4 kB / 0.9033 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.2296, allocations: 7.938 kB / 0.9033 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.2296, allocations: 8 kB / 0.9033 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.2299, allocations: 105.6 kB / 0.9034 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.2299, allocations: 0 / 0.9034 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.2299, allocations: 0 / 0.9034 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.2299, allocations: 0 / 0.9034 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000188/0.2301, allocations: 71.97 kB / 0.9035 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000691/0.2308, allocations: 412.5 kB / 0.9039 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.231, allocations: 66.5 kB / 0.904 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.136e-05/0.2311, allocations: 40.97 kB / 0.904 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.2311, allocations: 0 / 0.904 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.607e-05/0.2311, allocations: 38.5 kB / 0.904 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.2311, allocations: 0 / 0.904 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0003451/0.2315, allocations: 121.5 kB / 0.9041 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.2315, allocations: 59.41 kB / 0.9042 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.489e-05/0.2316, allocations: 149.5 kB / 0.9043 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.2316, allocations: 25.7 kB / 0.9044 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.691e-05/0.2317, allocations: 116 kB / 0.9045 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.2317, allocations: 15.97 kB / 0.9045 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/0.2317, allocations: 0 / 0.9045 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.836e-05/0.2318, allocations: 322.8 kB / 0.9048 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.783e-05/0.2319, allocations: 35.97 kB / 0.9048 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.603e-05/0.232, allocations: 35.92 kB / 0.9049 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.774e-05/0.232, allocations: 31.98 kB / 0.9049 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.2321, allocations: 0 / 0.9049 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002193/0.2323, allocations: 97.53 kB / 0.905 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.2323, allocations: 4 kB / 0.905 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2323, allocations: 0 / 0.905 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.2323, allocations: 4 kB / 0.905 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.2324, allocations: 15.98 kB / 0.905 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.2325, allocations: 0 / 0.905 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.2326, allocations: 35.88 kB / 0.9051 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.2327, allocations: 0 / 0.9051 GB, free: 59.34 MB / 0.6042 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.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.019e-05/0.2328, allocations: 129.8 kB / 0.9052 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/0.2328, allocations: 15.8 kB / 0.9052 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.591e-05/0.2328, allocations: 20.3 kB / 0.9052 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2328, allocations: 0 / 0.9052 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2328, allocations: 0 / 0.9052 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2329, allocations: 0 / 0.9052 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.233, allocations: 197.6 kB / 0.9054 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.233, allocations: 4 kB / 0.9054 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.64e-05/0.2331, allocations: 11.98 kB / 0.9054 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.2331, allocations: 11.95 kB / 0.9054 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.2331, allocations: 0 / 0.9054 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2331, allocations: 4.188 kB / 0.9054 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2331, allocations: 0 / 0.9054 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.2333, allocations: 191.4 kB / 0.9056 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.605e-05/0.2334, allocations: 96.89 kB / 0.9057 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.2334, allocations: 3.953 kB / 0.9057 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.2336, allocations: 31.95 kB / 0.9057 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.243e-05/0.2337, allocations: 19.98 kB / 0.9058 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.2337, allocations: 3.984 kB / 0.9058 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.262e-05/0.2338, allocations: 114.3 kB / 0.9059 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.9e-07/0.2338, allocations: 0 / 0.9059 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002124/0.234, allocations: 15.91 kB / 0.9059 GB, free: 58.39 MB / 0.6042 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 (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 9.229e-05/0.2341, allocations: 103.2 kB / 0.906 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002171/0.2343, allocations: 75.97 kB / 0.9061 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2343, allocations: 0 / 0.9061 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.32e-05/0.2344, allocations: 39.92 kB / 0.9061 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.2347, allocations: 13.53 kB / 0.9061 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004394/0.2352, allocations: 256.8 kB / 0.9064 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001765/0.2354, allocations: 0.7004 MB / 0.907 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.333e-05/0.2354, allocations: 11.44 kB / 0.907 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2354, allocations: 0 / 0.907 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of Templates: time 0.00249/0.2379, allocations: 1.282 MB / 0.9083 GB, free: 55.87 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)