Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007786/0.0007786, allocations: 90.75 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008146/0.0008147, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 205.4 MB / 222.1 MB, free: 5.473 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.596/1.596, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005362/0.0005363, allocations: 12.62 kB / 0.6737 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.207, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.00158/0.2086, allocations: 1.215 MB / 0.7885 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.2098, allocations: 0.7338 MB / 0.7892 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.757e-05/0.2099, allocations: 4 kB / 0.7892 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.51e-05/0.2099, allocations: 3.938 kB / 0.7892 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.828e-05/0.21, allocations: 19.84 kB / 0.7892 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004356/0.2104, allocations: 99.77 kB / 0.7893 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.496e-05/0.2105, allocations: 67.78 kB / 0.7894 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.134e-05/0.2106, allocations: 11.92 kB / 0.7894 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.241e-05/0.2107, allocations: 35.84 kB / 0.7894 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.224e-05/0.2108, allocations: 43.77 kB / 0.7895 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.2108, allocations: 8 kB / 0.7895 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.211, allocations: 79.92 kB / 0.7895 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.427e-05/0.211, allocations: 19.91 kB / 0.7896 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.632e-05/0.2111, allocations: 41.62 kB / 0.7896 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.2112, allocations: 96.05 kB / 0.7897 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2112, allocations: 0 / 0.7897 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2112, allocations: 0 / 0.7897 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.466e-06/0.2112, allocations: 0 / 0.7897 GB, free: 9.434 MB / 0.6075 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.0006276/0.2119, allocations: 454.5 kB / 0.7901 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.2119, allocations: 8.031 kB / 0.7901 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.61e-05/0.212, allocations: 11.91 kB / 0.7901 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.2121, allocations: 178.9 kB / 0.7903 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.2121, allocations: 4 kB / 0.7903 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.2121, allocations: 8 kB / 0.7903 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.2123, allocations: 81.58 kB / 0.7904 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.2123, allocations: 4 kB / 0.7904 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.2123, allocations: 0 / 0.7904 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.2124, allocations: 0 / 0.7904 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.2125, allocations: 43.97 kB / 0.7904 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004901/0.213, allocations: 328.7 kB / 0.7908 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.2131, allocations: 58.59 kB / 0.7908 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.79e-05/0.2132, allocations: 48.77 kB / 0.7909 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.2133, allocations: 0 / 0.7909 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001967/0.2135, allocations: 95.36 kB / 0.791 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.183e-06/0.2135, allocations: 0 / 0.791 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003722/0.2138, allocations: 161.4 kB / 0.7911 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.2139, allocations: 63.34 kB / 0.7912 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.525e-05/0.214, allocations: 129.7 kB / 0.7913 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.214, allocations: 29.7 kB / 0.7913 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.63e-05/0.2141, allocations: 100.5 kB / 0.7914 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.2141, allocations: 19.72 kB / 0.7914 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.591e-06/0.2141, allocations: 0 / 0.7914 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.2142, allocations: 322.8 kB / 0.7917 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.871e-05/0.2143, allocations: 27.98 kB / 0.7918 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.71e-05/0.2144, allocations: 72.88 kB / 0.7918 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.165e-05/0.2145, allocations: 35.98 kB / 0.7919 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2145, allocations: 0 / 0.7919 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002218/0.2147, allocations: 129.4 kB / 0.792 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.2147, allocations: 8 kB / 0.792 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.2147, allocations: 0 / 0.792 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.2148, allocations: 4 kB / 0.792 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.2149, allocations: 19.92 kB / 0.792 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.2149, allocations: 0 / 0.792 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.879e-05/0.215, allocations: 32 kB / 0.7921 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.215, allocations: 4 kB / 0.7921 GB, free: 6.754 MB / 0.6075 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 8.906e-05/0.2151, allocations: 130.5 kB / 0.7922 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.2151, allocations: 7.906 kB / 0.7922 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002811/0.2154, allocations: 149.9 kB / 0.7923 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.2154, allocations: 0 / 0.7923 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.2154, allocations: 4 kB / 0.7923 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.2154, allocations: 4 kB / 0.7923 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000487/0.2159, allocations: 426.3 kB / 0.7928 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.2159, allocations: 4 kB / 0.7928 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.048e-05/0.216, allocations: 19.92 kB / 0.7928 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.216, allocations: 0 / 0.7928 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.2161, allocations: 4 kB / 0.7928 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.2161, allocations: 7.938 kB / 0.7928 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2161, allocations: 4 kB / 0.7928 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/0.2163, allocations: 223.4 kB / 0.793 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.631e-05/0.2164, allocations: 84.95 kB / 0.7931 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/0.2164, allocations: 11.98 kB / 0.7931 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.2165, allocations: 12.38 kB / 0.7931 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.2166, allocations: 11.94 kB / 0.7931 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.2166, allocations: 11.98 kB / 0.7931 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.386e-05/0.2166, allocations: 95.27 kB / 0.7932 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2167, allocations: 3.938 kB / 0.7932 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002976/0.217, allocations: 43.94 kB / 0.7933 GB, free: 5.414 MB / 0.6075 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 (12): * Single equations (assignments): 9 * 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.000291/0.2173, allocations: 160.7 kB / 0.7934 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002179/0.2175, allocations: 87.83 kB / 0.7935 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2175, allocations: 4.25 kB / 0.7935 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.893e-05/0.2176, allocations: 51.97 kB / 0.7936 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.2179, allocations: 12 kB / 0.7936 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004023/0.2183, allocations: 238.9 kB / 0.7938 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.2186, allocations: 0.6926 MB / 0.7945 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.718e-05/0.2186, allocations: 12.61 kB / 0.7945 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.239e-05/0.2187, allocations: 15.42 kB / 0.7945 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.2187, allocations: 0 / 0.7945 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of Templates: time 0.004104/0.2228, allocations: 1.624 MB / 0.7961 GB, free: 2.488 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) Environment - environmentSimulation: