Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.149/2.149, 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.001324/0.001324, allocations: 175.7 kB / 325.8 MB, free: 2.781 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.428/2.428, allocations: 205.4 MB / 0.5767 GB, free: 21.08 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.0009824/0.0009823, allocations: 92.09 kB / 0.6812 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004531/0.0004533, allocations: 11.53 kB / 0.7953 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2013, allocations: 106.3 MB / 0.899 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001837/0.2032, allocations: 1.227 MB / 0.9002 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001463/0.2047, allocations: 0.7531 MB / 0.901 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.749e-05/0.2048, allocations: 0 / 0.901 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.428e-05/0.2048, allocations: 7.922 kB / 0.901 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.2049, allocations: 11.86 kB / 0.901 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000517/0.2055, allocations: 103.8 kB / 0.9011 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.2056, allocations: 75.72 kB / 0.9011 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.066e-05/0.2057, allocations: 15.98 kB / 0.9012 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.2058, allocations: 31.91 kB / 0.9012 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.691e-05/0.2059, allocations: 39.83 kB / 0.9012 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.2059, allocations: 4 kB / 0.9012 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002294/0.2062, allocations: 87.84 kB / 0.9013 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.552e-05/0.2062, allocations: 15.92 kB / 0.9013 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.673e-05/0.2063, allocations: 37.7 kB / 0.9014 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.2065, allocations: 107.8 kB / 0.9015 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.2065, allocations: 3.938 kB / 0.9015 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2065, allocations: 0 / 0.9015 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.2065, allocations: 0 / 0.9015 GB, free: 63.34 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007961/0.2073, allocations: 460.3 kB / 0.9019 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.2074, allocations: 16.03 kB / 0.9019 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.101e-05/0.2074, allocations: 12.78 kB / 0.9019 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.2076, allocations: 174.7 kB / 0.9021 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.62e-05/0.2077, allocations: 38.27 kB / 0.9021 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.2077, allocations: 4.375 kB / 0.9021 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002725/0.208, allocations: 81.75 kB / 0.9022 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.208, allocations: 3.938 kB / 0.9022 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.208, allocations: 4 kB / 0.9022 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.208, allocations: 4 kB / 0.9022 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002965/0.2083, allocations: 55.89 kB / 0.9023 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006069/0.209, allocations: 332.7 kB / 0.9026 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.2093, allocations: 70.58 kB / 0.9027 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.2095, allocations: 44.83 kB / 0.9027 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.2095, allocations: 0 / 0.9027 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003127/0.2098, allocations: 95.36 kB / 0.9028 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 2.044e-06/0.2099, allocations: 0 / 0.9028 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0007092/0.2106, allocations: 173.5 kB / 0.903 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.2106, allocations: 59.41 kB / 0.903 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.2107, allocations: 134.4 kB / 0.9032 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.2108, allocations: 29.7 kB / 0.9032 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.693e-05/0.2108, allocations: 100.3 kB / 0.9033 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.2109, allocations: 23.86 kB / 0.9033 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.778e-06/0.2109, allocations: 3.938 kB / 0.9033 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.296e-05/0.211, allocations: 326.8 kB / 0.9036 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.2111, allocations: 39.92 kB / 0.9037 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.2113, allocations: 71 kB / 0.9037 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.2115, allocations: 43.97 kB / 0.9038 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2115, allocations: 0 / 0.9038 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004349/0.212, allocations: 133.4 kB / 0.9039 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.212, allocations: 10.03 kB / 0.9039 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.212, allocations: 0 / 0.9039 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.2121, allocations: 8.125 kB / 0.9039 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.2122, allocations: 19.92 kB / 0.9039 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.2123, allocations: 0 / 0.9039 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.2124, allocations: 23.92 kB / 0.904 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.2125, allocations: 4 kB / 0.904 GB, free: 60.55 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,occ.y,$PRE.occ.pulseStart,occ.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 9.447e-05/0.2126, allocations: 129.8 kB / 0.9041 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.2126, allocations: 11.91 kB / 0.9041 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.778e-05/0.2127, allocations: 8.719 kB / 0.9041 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.2127, allocations: 0 / 0.9041 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.2127, allocations: 4 kB / 0.9041 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.2127, allocations: 3.938 kB / 0.9041 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007915/0.2135, allocations: 438.2 kB / 0.9045 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.2135, allocations: 0 / 0.9045 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.2136, allocations: 11.98 kB / 0.9045 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2137, allocations: 96 / 0.9045 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.2137, allocations: 0 / 0.9045 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.2137, allocations: 7.938 kB / 0.9045 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.2137, allocations: 3.984 kB / 0.9046 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004662/0.2142, allocations: 231.3 kB / 0.9048 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.961e-05/0.2142, allocations: 85.2 kB / 0.9049 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.236e-05/0.2143, allocations: 8 kB / 0.9049 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.2145, allocations: 23.86 kB / 0.9049 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.105e-05/0.2146, allocations: 7.984 kB / 0.9049 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.2146, allocations: 11.98 kB / 0.9049 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.05e-05/0.2147, allocations: 104.8 kB / 0.905 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2147, allocations: 0 / 0.905 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003852/0.2151, allocations: 40 kB / 0.905 GB, free: 59.34 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: 8 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000376/0.2155, allocations: 158.7 kB / 0.9052 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000428/0.2159, allocations: 91.88 kB / 0.9053 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2159, allocations: 0 / 0.9053 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002043/0.2161, allocations: 51.91 kB / 0.9053 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.2165, allocations: 20.23 kB / 0.9053 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005699/0.2171, allocations: 231.1 kB / 0.9056 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.2173, allocations: 0.6965 MB / 0.9062 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.272e-05/0.2173, allocations: 12.59 kB / 0.9063 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.855e-05/0.2174, allocations: 11.44 kB / 0.9063 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of SimCode: time 7.41e-07/0.2174, allocations: 0 / 0.9063 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of Templates: time 0.005533/0.223, allocations: 1.63 MB / 0.9079 GB, free: 56.41 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)