Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.398/2.398, allocations: 251.3 MB / 266.2 MB, free: 11.52 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.001361/0.00136, allocations: 174.5 kB / 325.8 MB, free: 2.805 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.466/2.466, allocations: 205.4 MB / 0.5767 GB, free: 20.76 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.0009048/0.0009047, allocations: 80.88 kB / 0.6812 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006704/0.0006707, allocations: 15.16 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2008, allocations: 106.3 MB / 0.8991 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001818/0.2027, allocations: 1.285 MB / 0.9003 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004385/0.2032, allocations: 184.4 kB / 0.9005 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.448e-05/0.2032, allocations: 4 kB / 0.9005 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.53e-05/0.2033, allocations: 7.922 kB / 0.9005 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.274e-05/0.2034, allocations: 15.86 kB / 0.9005 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000167/0.2036, allocations: 23.97 kB / 0.9005 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.2037, allocations: 99.64 kB / 0.9006 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.2038, allocations: 41.09 kB / 0.9007 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.204, allocations: 43.83 kB / 0.9007 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.764e-05/0.2041, allocations: 31.84 kB / 0.9007 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.2041, allocations: 4 kB / 0.9007 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.869e-05/0.2041, allocations: 4 kB / 0.9007 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.936e-05/0.2041, allocations: 11.92 kB / 0.9008 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.641e-05/0.2042, allocations: 41.64 kB / 0.9008 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.2043, allocations: 87.78 kB / 0.9009 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2043, allocations: 4 kB / 0.9009 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.482e-06/0.2043, allocations: 0 / 0.9009 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.2044, allocations: 0 / 0.9009 GB, free: 63.53 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.001089/0.2055, allocations: 463.3 kB / 0.9013 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.2055, allocations: 12.03 kB / 0.9013 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.682e-05/0.2056, allocations: 12.75 kB / 0.9013 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.2057, allocations: 184.2 kB / 0.9015 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.2057, allocations: 8.375 kB / 0.9015 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.2058, allocations: 4.375 kB / 0.9015 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002816/0.2061, allocations: 100.7 kB / 0.9016 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.2061, allocations: 3.938 kB / 0.9016 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.2061, allocations: 4 kB / 0.9016 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.2061, allocations: 4 kB / 0.9016 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000295/0.2064, allocations: 71.95 kB / 0.9017 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009105/0.2073, allocations: 420.4 kB / 0.9021 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.2076, allocations: 66.5 kB / 0.9022 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.2077, allocations: 36.97 kB / 0.9022 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.2078, allocations: 0 / 0.9022 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.2078, allocations: 34.56 kB / 0.9022 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.412e-06/0.2078, allocations: 0 / 0.9022 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0005047/0.2083, allocations: 125.5 kB / 0.9024 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.43e-05/0.2084, allocations: 55.34 kB / 0.9024 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.2085, allocations: 165.8 kB / 0.9026 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.2085, allocations: 29.7 kB / 0.9026 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.89e-05/0.2086, allocations: 100.1 kB / 0.9027 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.2086, allocations: 23.83 kB / 0.9027 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.047e-05/0.2086, allocations: 4 kB / 0.9027 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.858e-05/0.2087, allocations: 318.8 kB / 0.903 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.2089, allocations: 31.98 kB / 0.9031 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.209, allocations: 35.98 kB / 0.9031 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.2091, allocations: 27.97 kB / 0.9031 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2092, allocations: 0 / 0.9031 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000341/0.2095, allocations: 105.6 kB / 0.9032 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.2095, allocations: 8 kB / 0.9032 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.2096, allocations: 0 / 0.9032 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.2096, allocations: 0 / 0.9032 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.2097, allocations: 15.92 kB / 0.9032 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.423e-06/0.2097, allocations: 3.938 kB / 0.9032 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002985/0.21, allocations: 39.88 kB / 0.9033 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.2101, allocations: 4 kB / 0.9033 GB, free: 60.85 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.467e-05/0.2102, allocations: 113.8 kB / 0.9034 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.031e-05/0.2102, allocations: 7.906 kB / 0.9034 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.68e-05/0.2103, allocations: 16.31 kB / 0.9034 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.2103, allocations: 3.984 kB / 0.9034 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2103, allocations: 7.875 kB / 0.9034 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2103, allocations: 4 kB / 0.9034 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.2105, allocations: 197.9 kB / 0.9036 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.2105, allocations: 0 / 0.9036 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.2106, allocations: 12 kB / 0.9036 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2107, allocations: 0 / 0.9036 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.2107, allocations: 3.984 kB / 0.9036 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.2107, allocations: 240 / 0.9036 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2107, allocations: 7.938 kB / 0.9036 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/0.211, allocations: 195.4 kB / 0.9038 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.265e-05/0.2111, allocations: 88.95 kB / 0.9039 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/0.2111, allocations: 4 kB / 0.9039 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003304/0.2115, allocations: 31.97 kB / 0.904 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.509e-05/0.2115, allocations: 19.91 kB / 0.904 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.2116, allocations: 4 kB / 0.904 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.908e-05/0.2117, allocations: 111.2 kB / 0.9041 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.4e-07/0.2117, allocations: 0 / 0.9041 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002839/0.212, allocations: 19.91 kB / 0.9041 GB, free: 59.93 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 8.997e-05/0.2121, allocations: 103.2 kB / 0.9042 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003358/0.2124, allocations: 71.91 kB / 0.9043 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2124, allocations: 0 / 0.9043 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.2126, allocations: 47.97 kB / 0.9043 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.2129, allocations: 9.828 kB / 0.9043 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004549/0.2134, allocations: 231.1 kB / 0.9045 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/0.2136, allocations: 0.6965 MB / 0.9052 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.978e-05/0.2137, allocations: 11.97 kB / 0.9052 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.167e-05/0.2138, allocations: 19.31 kB / 0.9053 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of SimCode: time 6.11e-07/0.2138, allocations: 4 kB / 0.9053 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of Templates: time 0.004091/0.2179, allocations: 1.059 MB / 0.9063 GB, free: 57.63 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)