Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.472/2.472, allocations: 251.1 MB / 266.1 MB, free: 11.61 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.001561/0.001561, allocations: 180.2 kB / 325.6 MB, free: 2.828 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.563/2.563, 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.001472/0.001472, allocations: 102.3 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004745/0.0004746, allocations: 9.156 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2141, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001868/0.216, allocations: 1.211 MB / 0.9001 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.2175, allocations: 0.7539 MB / 0.9008 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.266e-05/0.2175, allocations: 4 kB / 0.9008 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.523e-05/0.2176, allocations: 7.922 kB / 0.9008 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.2177, allocations: 11.97 kB / 0.9008 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004789/0.2182, allocations: 95.69 kB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.2183, allocations: 63.86 kB / 0.901 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.2184, allocations: 15.98 kB / 0.901 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.2185, allocations: 39.84 kB / 0.901 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.095e-05/0.2186, allocations: 35.88 kB / 0.9011 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.2187, allocations: 7.938 kB / 0.9011 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001754/0.2189, allocations: 75.86 kB / 0.9011 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.762e-05/0.2189, allocations: 15.92 kB / 0.9012 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.906e-05/0.2189, allocations: 37.7 kB / 0.9012 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.2191, allocations: 107.8 kB / 0.9013 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.2192, allocations: 0 / 0.9013 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2192, allocations: 0 / 0.9013 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.2192, 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007581/0.22, allocations: 492.3 kB / 0.9018 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.22, allocations: 8.031 kB / 0.9018 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.904e-05/0.2201, allocations: 15.86 kB / 0.9018 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.2202, allocations: 180.6 kB / 0.902 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.2202, allocations: 0 / 0.902 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.2203, allocations: 12 kB / 0.902 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.2205, allocations: 77.64 kB / 0.902 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.2205, allocations: 0 / 0.902 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.2206, allocations: 7.984 kB / 0.9021 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.2206, allocations: 0 / 0.9021 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002274/0.2208, allocations: 59.84 kB / 0.9021 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006303/0.2215, allocations: 336.6 kB / 0.9024 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/0.2218, allocations: 98.62 kB / 0.9025 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.2218, allocations: 3.984 kB / 0.9025 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002826/0.2221, allocations: 95.36 kB / 0.9026 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.954e-06/0.2221, allocations: 0 / 0.9026 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0006151/0.2227, allocations: 197.3 kB / 0.9028 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.2228, allocations: 55.41 kB / 0.9029 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.2229, allocations: 134 kB / 0.903 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.2229, allocations: 29.7 kB / 0.903 GB, free: 61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.814e-05/0.223, allocations: 96.12 kB / 0.9031 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/0.223, allocations: 23.66 kB / 0.9031 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.043e-05/0.2231, allocations: 0 / 0.9031 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.304e-05/0.2231, allocations: 326.8 kB / 0.9034 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.2233, allocations: 27.98 kB / 0.9035 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.2234, allocations: 75.52 kB / 0.9035 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.2236, allocations: 39.98 kB / 0.9036 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2236, allocations: 0 / 0.9036 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003548/0.2239, allocations: 137.4 kB / 0.9037 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.224, allocations: 11.98 kB / 0.9037 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.224, allocations: 0 / 0.9037 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.224, allocations: 11.98 kB / 0.9037 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.2242, allocations: 19.98 kB / 0.9037 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.2242, allocations: 0 / 0.9037 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.2244, allocations: 19.91 kB / 0.9038 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.2244, allocations: 7.984 kB / 0.9038 GB, free: 60.18 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,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.57e-05/0.2245, allocations: 124 kB / 0.9039 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.2246, allocations: 11.91 kB / 0.9039 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004624/0.225, allocations: 162.3 kB / 0.9041 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.2251, allocations: 0 / 0.9041 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.2251, allocations: 3.953 kB / 0.9041 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.2251, allocations: 0 / 0.9041 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007569/0.2258, allocations: 464.8 kB / 0.9045 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.2259, allocations: 0 / 0.9045 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.226, allocations: 15.98 kB / 0.9045 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.226, allocations: 3.953 kB / 0.9045 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.226, allocations: 0 / 0.9045 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.2261, allocations: 7.938 kB / 0.9045 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2261, allocations: 3.938 kB / 0.9045 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004355/0.2265, allocations: 243.4 kB / 0.9048 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.353e-05/0.2266, allocations: 85.02 kB / 0.9049 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.2266, allocations: 11.94 kB / 0.9049 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.2268, allocations: 8 kB / 0.9049 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.819e-05/0.2269, allocations: 15.98 kB / 0.9049 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.2269, allocations: 19.92 kB / 0.9049 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.082e-05/0.227, allocations: 95.27 kB / 0.905 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.6e-07/0.227, allocations: 0 / 0.905 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004312/0.2274, allocations: 47.94 kB / 0.905 GB, free: 58.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: 8 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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.0003787/0.2278, allocations: 162.9 kB / 0.9052 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003552/0.2282, allocations: 95.89 kB / 0.9053 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2282, allocations: 0 / 0.9053 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001734/0.2284, allocations: 55.92 kB / 0.9053 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.2287, allocations: 19.92 kB / 0.9054 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000537/0.2293, allocations: 244.7 kB / 0.9056 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000149/0.2294, allocations: 0.7043 MB / 0.9063 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.546e-05/0.2295, allocations: 16.36 kB / 0.9063 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.5e-05/0.2296, allocations: 15.44 kB / 0.9063 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of SimCode: time 5.91e-07/0.2296, allocations: 0 / 0.9063 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of Templates: time 0.00922/0.2388, allocations: 1.761 MB / 0.908 GB, free: 55.68 MB / 0.6042 GB