Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.829/1.829, allocations: 287.5 MB / 302.6 MB, free: 8.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001217/0.001216, allocations: 179 kB / 371.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.588/1.588, allocations: 205.4 MB / 0.6298 GB, free: 10.53 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008023/0.0008024, allocations: 88.73 kB / 0.7432 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006146/0.0006148, allocations: 11.25 kB / 0.8661 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2326, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001546/0.2342, allocations: 1.222 MB / 0.9799 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.2354, allocations: 0.7385 MB / 0.9806 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.469e-05/0.2355, allocations: 0 / 0.9806 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.515e-05/0.2356, allocations: 3.938 kB / 0.9806 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.2357, allocations: 15.86 kB / 0.9806 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005558/0.2363, allocations: 99.77 kB / 0.9807 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.2364, allocations: 91.69 kB / 0.9808 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.2365, allocations: 8 kB / 0.9808 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.2367, allocations: 35.91 kB / 0.9808 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.736e-05/0.2367, allocations: 47.81 kB / 0.9809 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.2368, allocations: 8 kB / 0.9809 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001937/0.237, allocations: 83.84 kB / 0.981 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.107e-05/0.237, allocations: 15.92 kB / 0.981 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.073e-05/0.2371, allocations: 37.7 kB / 0.981 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.2372, allocations: 116 kB / 0.9811 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2373, allocations: 0 / 0.9811 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.206e-06/0.2373, allocations: 0 / 0.9811 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.2373, allocations: 3.938 kB / 0.9811 GB, free: 25.64 MB / 0.6198 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.0006799/0.238, allocations: 492.3 kB / 0.9816 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.238, allocations: 8.031 kB / 0.9816 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.45e-05/0.2381, allocations: 8.844 kB / 0.9816 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.2382, allocations: 180.1 kB / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.2382, allocations: 384 / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.2382, allocations: 16.3 kB / 0.9818 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.2384, allocations: 85.89 kB / 0.9819 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.2384, allocations: 4 kB / 0.9819 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.2385, allocations: 4 kB / 0.9819 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.2385, allocations: 0 / 0.9819 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.2386, allocations: 51.97 kB / 0.982 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005746/0.2392, allocations: 336.7 kB / 0.9823 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.2394, allocations: 90.7 kB / 0.9824 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.615e-05/0.2395, allocations: 44.84 kB / 0.9824 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.2396, allocations: 0 / 0.9824 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002348/0.2398, allocations: 103.3 kB / 0.9825 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.643e-06/0.2398, allocations: 0 / 0.9825 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0004068/0.2402, allocations: 185.3 kB / 0.9827 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.2403, allocations: 59.39 kB / 0.9827 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.707e-05/0.2404, allocations: 134.1 kB / 0.9829 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.2404, allocations: 29.69 kB / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.172e-05/0.2404, allocations: 92.14 kB / 0.983 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.2405, allocations: 31.62 kB / 0.983 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.852e-06/0.2405, allocations: 4 kB / 0.983 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.696e-05/0.2405, allocations: 318.8 kB / 0.9833 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.459e-05/0.2406, allocations: 35.97 kB / 0.9833 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.54e-05/0.2407, allocations: 70.69 kB / 0.9834 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.2409, allocations: 117 kB / 0.9835 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2409, allocations: 0 / 0.9835 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002249/0.2411, allocations: 141.3 kB / 0.9837 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.2412, allocations: 8 kB / 0.9837 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.2412, allocations: 0 / 0.9837 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.2412, allocations: 4 kB / 0.9837 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.2413, allocations: 24.08 kB / 0.9837 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.2413, allocations: 7.938 kB / 0.9837 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.592e-05/0.2414, allocations: 15.92 kB / 0.9837 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.2414, allocations: 4 kB / 0.9837 GB, free: 22.71 MB / 0.6198 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 8.895e-05/0.2415, allocations: 129.7 kB / 0.9838 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/0.2416, allocations: 7.906 kB / 0.9839 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003196/0.2419, allocations: 171.3 kB / 0.984 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.2419, allocations: 0 / 0.984 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.2419, allocations: 7.875 kB / 0.984 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.2419, allocations: 4 kB / 0.984 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004739/0.2424, allocations: 446.3 kB / 0.9845 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.2424, allocations: 8 kB / 0.9845 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.884e-05/0.2425, allocations: 15.92 kB / 0.9845 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2425, allocations: 0 / 0.9845 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.2425, allocations: 8 kB / 0.9845 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2425, allocations: 0 / 0.9845 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.2425, allocations: 7.922 kB / 0.9845 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.2428, allocations: 244.7 kB / 0.9847 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.515e-05/0.2428, allocations: 88.94 kB / 0.9848 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.2429, allocations: 4 kB / 0.9848 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.243, allocations: 15.98 kB / 0.9848 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.521e-05/0.2431, allocations: 11.92 kB / 0.9848 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.2431, allocations: 4 kB / 0.9848 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.777e-05/0.2432, allocations: 103.3 kB / 0.9849 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.2432, allocations: 0 / 0.9849 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002951/0.2435, allocations: 43.98 kB / 0.985 GB, free: 21.32 MB / 0.6198 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.000353/0.2438, allocations: 173.8 kB / 0.9852 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002414/0.2441, allocations: 99.02 kB / 0.9852 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2441, allocations: 0 / 0.9852 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.2442, allocations: 55.92 kB / 0.9853 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.2445, allocations: 19.92 kB / 0.9853 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004516/0.2449, allocations: 247.5 kB / 0.9856 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001427/0.2451, allocations: 0.6926 MB / 0.9862 GB, free: 20 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.601e-05/0.2452, allocations: 16.42 kB / 0.9862 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.56e-05/0.2452, allocations: 11.44 kB / 0.9863 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of SimCode: time 2.8e-07/0.2452, allocations: 0 / 0.9863 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of Templates: time 0.00412/0.2493, allocations: 1.768 MB / 0.988 GB, free: 18.21 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1)