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 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") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.417/2.417, allocations: 251.1 MB / 266.1 MB, free: 11.63 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.003444/0.003425, allocations: 183.3 kB / 325.6 MB, free: 2.824 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.718/2.718, allocations: 205.4 MB / 0.5766 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.001165/0.001164, allocations: 100.6 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005239/0.0005241, allocations: 12.06 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2456, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002565/0.2483, allocations: 1.215 MB / 0.9001 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001498/0.2499, allocations: 0.75 MB / 0.9008 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.589e-05/0.25, allocations: 0 / 0.9008 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.148e-05/0.25, allocations: 3.938 kB / 0.9008 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.2501, allocations: 19.95 kB / 0.9008 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005272/0.2507, allocations: 99.7 kB / 0.9009 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.2508, allocations: 51.92 kB / 0.901 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.56e-05/0.2509, allocations: 11.98 kB / 0.901 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.251, allocations: 39.78 kB / 0.901 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.233e-05/0.2511, allocations: 35.84 kB / 0.9011 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.2512, allocations: 4 kB / 0.9011 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001923/0.2514, allocations: 67.86 kB / 0.9011 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.849e-05/0.2514, allocations: 19.92 kB / 0.9011 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.117e-05/0.2515, allocations: 41.69 kB / 0.9012 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.2517, allocations: 103.8 kB / 0.9013 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.2517, allocations: 0 / 0.9013 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.325e-06/0.2517, allocations: 0 / 0.9013 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.2517, allocations: 0 / 0.9013 GB, free: 62.98 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.0008708/0.2526, allocations: 470.6 kB / 0.9017 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.2526, allocations: 12.03 kB / 0.9017 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.233e-05/0.2527, allocations: 15.8 kB / 0.9018 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.2528, allocations: 171 kB / 0.9019 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.031e-05/0.2529, allocations: 37.69 kB / 0.902 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.253, allocations: 8 kB / 0.902 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002743/0.2533, allocations: 73.64 kB / 0.902 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.2533, allocations: 4 kB / 0.902 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.2533, allocations: 0 / 0.902 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.2533, allocations: 4 kB / 0.902 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003072/0.2537, allocations: 59.84 kB / 0.9021 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006322/0.2543, allocations: 316.8 kB / 0.9024 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003121/0.2546, allocations: 78.56 kB / 0.9025 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.984e-05/0.2547, allocations: 4.141 kB / 0.9025 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003217/0.255, allocations: 95.36 kB / 0.9026 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 2.805e-06/0.255, allocations: 0 / 0.9026 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0007082/0.2557, allocations: 181.3 kB / 0.9027 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.2558, allocations: 55.41 kB / 0.9028 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.2559, allocations: 140.6 kB / 0.9029 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.256, allocations: 29.7 kB / 0.903 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.229e-05/0.256, allocations: 100.3 kB / 0.903 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.03e-05/0.2561, allocations: 19.72 kB / 0.9031 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.058e-05/0.2561, allocations: 0 / 0.9031 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.014e-05/0.2562, allocations: 322.8 kB / 0.9034 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.2564, allocations: 27.98 kB / 0.9034 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/0.2566, allocations: 77.06 kB / 0.9035 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.2568, allocations: 43.97 kB / 0.9035 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2568, allocations: 0 / 0.9035 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004428/0.2572, allocations: 137.4 kB / 0.9036 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.2573, allocations: 8 kB / 0.9037 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.2573, allocations: 0 / 0.9037 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.2573, allocations: 7.953 kB / 0.9037 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.2575, allocations: 24.05 kB / 0.9037 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.904e-06/0.2575, allocations: 0 / 0.9037 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.2577, allocations: 23.92 kB / 0.9037 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/0.2578, allocations: 4 kB / 0.9037 GB, free: 60.23 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 0.0001019/0.2579, allocations: 125.8 kB / 0.9038 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.2579, allocations: 7.906 kB / 0.9038 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.063e-05/0.2579, allocations: 12.72 kB / 0.9039 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.258, allocations: 7.891 kB / 0.9039 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.258, allocations: 4 kB / 0.9039 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.258, allocations: 0 / 0.9039 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008408/0.2588, allocations: 438.2 kB / 0.9043 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.2589, allocations: 4 kB / 0.9043 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.259, allocations: 11.98 kB / 0.9043 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.259, allocations: 3.953 kB / 0.9043 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.259, allocations: 0 / 0.9043 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.2591, allocations: 4 kB / 0.9043 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.2591, allocations: 480 / 0.9043 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00048/0.2596, allocations: 239.3 kB / 0.9045 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.358e-05/0.2596, allocations: 81.02 kB / 0.9046 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/0.2596, allocations: 7.953 kB / 0.9046 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.2599, allocations: 15.98 kB / 0.9046 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.094e-05/0.2599, allocations: 7.984 kB / 0.9046 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.733e-05/0.26, allocations: 11.98 kB / 0.9047 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.296e-05/0.2601, allocations: 103.2 kB / 0.9048 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.8e-07/0.2601, allocations: 0 / 0.9048 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004341/0.2605, allocations: 40 kB / 0.9048 GB, free: 59.03 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.0004235/0.261, allocations: 156.6 kB / 0.9049 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004505/0.2614, allocations: 99.86 kB / 0.905 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2615, allocations: 0 / 0.905 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002141/0.2617, allocations: 51.91 kB / 0.9051 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.262, allocations: 20.45 kB / 0.9051 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005915/0.2626, allocations: 227 kB / 0.9053 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001465/0.2627, allocations: 0.7004 MB / 0.906 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.675e-05/0.2628, allocations: 8.656 kB / 0.906 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.026e-05/0.2629, allocations: 15.44 kB / 0.906 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of SimCode: time 7.31e-07/0.2629, allocations: 0 / 0.906 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of Templates: time 0.005785/0.2687, allocations: 1.617 MB / 0.9076 GB, free: 56.11 MB / 0.6042 GB