Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.328/2.328, allocations: 251.3 MB / 266.2 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001416/0.001416, allocations: 177.5 kB / 325.8 MB, free: 2.812 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.772/2.772, allocations: 205.4 MB / 0.5767 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009283/0.0009281, allocations: 98.17 kB / 0.6812 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004833/0.0004837, allocations: 16.16 kB / 0.7953 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2161, allocations: 106.3 MB / 0.8991 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.00174/0.2179, allocations: 1.128 MB / 0.9002 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004478/0.2183, allocations: 145.6 kB / 0.9003 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.749e-05/0.2185, allocations: 4 kB / 0.9003 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.375e-05/0.2185, allocations: 0 / 0.9003 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.2186, allocations: 3.938 kB / 0.9003 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.2189, allocations: 15.98 kB / 0.9003 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.2191, allocations: 31.92 kB / 0.9004 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.2193, allocations: 19.98 kB / 0.9004 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.2194, allocations: 15.92 kB / 0.9004 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.683e-05/0.2196, allocations: 15.91 kB / 0.9004 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.402e-05/0.2196, allocations: 4 kB / 0.9004 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.673e-05/0.2197, allocations: 0 / 0.9004 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.216e-05/0.2197, allocations: 4 kB / 0.9004 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.077e-05/0.2198, allocations: 33.64 kB / 0.9004 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.22, allocations: 31.92 kB / 0.9005 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.22, allocations: 3.938 kB / 0.9005 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.074e-06/0.22, allocations: 0 / 0.9005 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.707e-06/0.2201, allocations: 4 kB / 0.9005 GB, free: 63.97 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009472/0.221, allocations: 387.7 kB / 0.9009 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.2211, allocations: 12.03 kB / 0.9009 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.124e-05/0.2212, allocations: 4.844 kB / 0.9009 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.2213, allocations: 164.4 kB / 0.901 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.2213, allocations: 4.375 kB / 0.901 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.2213, allocations: 4.375 kB / 0.901 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002895/0.2216, allocations: 78.14 kB / 0.9011 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.2217, allocations: 192 / 0.9011 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.2217, allocations: 7.938 kB / 0.9011 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.2217, allocations: 0 / 0.9011 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003137/0.222, allocations: 47.97 kB / 0.9012 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006911/0.2227, allocations: 304.7 kB / 0.9015 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003587/0.2231, allocations: 74.47 kB / 0.9015 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/0.2233, allocations: 29 kB / 0.9015 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.2233, allocations: 3.938 kB / 0.9016 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.2233, allocations: 30.56 kB / 0.9016 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 2.094e-06/0.2234, allocations: 4 kB / 0.9016 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005651/0.2239, allocations: 109.5 kB / 0.9017 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.224, allocations: 59.33 kB / 0.9017 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.174e-05/0.2241, allocations: 113.8 kB / 0.9019 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.2241, allocations: 29.7 kB / 0.9019 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.317e-05/0.2242, allocations: 92.08 kB / 0.902 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.2242, allocations: 3.906 kB / 0.902 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-06/0.2242, allocations: 0 / 0.902 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.045e-05/0.2243, allocations: 326.8 kB / 0.9023 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.2245, allocations: 27.98 kB / 0.9023 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.2246, allocations: 27.97 kB / 0.9023 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.2248, allocations: 19.98 kB / 0.9024 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2248, allocations: 0 / 0.9024 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003421/0.2251, allocations: 85.66 kB / 0.9024 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.2252, allocations: 8 kB / 0.9024 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2252, allocations: 0 / 0.9024 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.2252, allocations: 3.938 kB / 0.9025 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.2253, allocations: 19.92 kB / 0.9025 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.2254, allocations: 0 / 0.9025 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.2256, allocations: 27.89 kB / 0.9025 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.2256, allocations: 0 / 0.9025 GB, free: 61.69 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: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.726e-05/0.2257, allocations: 113.8 kB / 0.9026 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.2257, allocations: 11.98 kB / 0.9026 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003745/0.2261, allocations: 89.56 kB / 0.9027 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.2261, allocations: 0 / 0.9027 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.2261, allocations: 0 / 0.9027 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.2261, allocations: 3.984 kB / 0.9027 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.2263, allocations: 169.6 kB / 0.9029 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2263, allocations: 0 / 0.9029 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.2264, allocations: 19.92 kB / 0.9029 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2265, allocations: 384 / 0.9029 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.2265, allocations: 4 kB / 0.9029 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.2265, allocations: 0 / 0.9029 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2265, allocations: 0 / 0.9029 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003949/0.2269, allocations: 187.7 kB / 0.9031 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.838e-05/0.2269, allocations: 77.11 kB / 0.9031 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.227, allocations: 8.031 kB / 0.9032 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.2272, allocations: 23.97 kB / 0.9032 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.544e-05/0.2273, allocations: 11.98 kB / 0.9032 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/0.2273, allocations: 0 / 0.9032 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.453e-05/0.2274, allocations: 91.27 kB / 0.9033 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.445e-06/0.2274, allocations: 0 / 0.9033 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002673/0.2276, allocations: 7.938 kB / 0.9033 GB, free: 60.78 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: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 0.0001186/0.2278, allocations: 99.25 kB / 0.9034 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000354/0.2281, allocations: 59.95 kB / 0.9034 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2282, allocations: 0 / 0.9034 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.2283, allocations: 27.98 kB / 0.9035 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.2287, allocations: 15.92 kB / 0.9035 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003374/0.229, allocations: 144.4 kB / 0.9036 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.2292, allocations: 0.6809 MB / 0.9043 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.47e-05/0.2293, allocations: 0 / 0.9043 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.143e-05/0.2293, allocations: 15.44 kB / 0.9043 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of SimCode: time 7.72e-07/0.2293, allocations: 0 / 0.9043 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of Templates: time 0.00335/0.2327, allocations: 0.6375 MB / 0.9049 GB, free: 59.05 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)