Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.602/1.602, allocations: 288.4 MB / 303.7 MB, free: 8.18 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.0009508/0.0009508, allocations: 188.4 kB / 372.3 MB, free: 10.12 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.572/1.572, allocations: 205.4 MB / 0.631 GB, free: 9.91 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.0007182/0.0007184, allocations: 98.22 kB / 0.7444 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003934/0.0003934, allocations: 10.88 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2354, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001558/0.2371, allocations: 1.23 MB / 0.9813 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.2382, allocations: 0.7383 MB / 0.982 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.886e-05/0.2382, allocations: 0 / 0.982 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.477e-05/0.2383, allocations: 7.922 kB / 0.9821 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.2384, allocations: 15.86 kB / 0.9821 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004951/0.2389, allocations: 99.75 kB / 0.9822 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.113e-05/0.239, allocations: 91.64 kB / 0.9823 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.346e-05/0.2391, allocations: 16 kB / 0.9823 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.976e-05/0.2392, allocations: 39.83 kB / 0.9823 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.43e-05/0.2392, allocations: 35.89 kB / 0.9823 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.2393, allocations: 7.938 kB / 0.9823 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.2394, allocations: 83.92 kB / 0.9824 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.279e-05/0.2395, allocations: 23.89 kB / 0.9825 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.659e-05/0.2395, allocations: 57.56 kB / 0.9825 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.2397, allocations: 115.9 kB / 0.9826 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.2397, allocations: 0 / 0.9826 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2397, allocations: 0 / 0.9826 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.2397, allocations: 4 kB / 0.9826 GB, free: 24.78 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.0006133/0.2403, allocations: 484.3 kB / 0.9831 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.2404, allocations: 12.03 kB / 0.9831 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.2404, allocations: 8.844 kB / 0.9831 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.666e-05/0.2405, allocations: 176.1 kB / 0.9833 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.2405, allocations: 8.359 kB / 0.9833 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.2406, allocations: 12.38 kB / 0.9833 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.2407, allocations: 81.95 kB / 0.9834 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.2408, allocations: 3.938 kB / 0.9834 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.2408, allocations: 7.984 kB / 0.9834 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.2408, allocations: 4 kB / 0.9834 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.2409, allocations: 47.97 kB / 0.9834 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004811/0.2414, allocations: 332.8 kB / 0.9837 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.2416, allocations: 90.69 kB / 0.9838 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.187e-05/0.2417, allocations: 44.84 kB / 0.9839 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.2417, allocations: 4 kB / 0.9839 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002036/0.242, allocations: 95.36 kB / 0.984 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.224e-06/0.242, allocations: 0 / 0.984 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0003753/0.2423, allocations: 193.3 kB / 0.9842 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.2424, allocations: 55.39 kB / 0.9842 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.346e-05/0.2425, allocations: 132.8 kB / 0.9843 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.2425, allocations: 29.7 kB / 0.9844 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.714e-05/0.2425, allocations: 88.14 kB / 0.9844 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.2426, allocations: 27.64 kB / 0.9845 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-06/0.2426, allocations: 8 kB / 0.9845 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.951e-05/0.2427, allocations: 326.7 kB / 0.9848 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.461e-05/0.2428, allocations: 35.97 kB / 0.9848 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.42e-05/0.2428, allocations: 65.14 kB / 0.9849 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.243, allocations: 113 kB / 0.985 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.243, allocations: 0 / 0.985 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002105/0.2432, allocations: 145.4 kB / 0.9851 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.2433, allocations: 15.97 kB / 0.9852 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2433, allocations: 0 / 0.9852 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.2433, allocations: 4 kB / 0.9852 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.2434, allocations: 19.98 kB / 0.9852 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.2434, allocations: 0 / 0.9852 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.272e-05/0.2435, allocations: 19.92 kB / 0.9852 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.2435, allocations: 8 kB / 0.9852 GB, free: 21.86 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 7.297e-05/0.2436, allocations: 127.4 kB / 0.9853 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/0.2436, allocations: 11.89 kB / 0.9853 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002853/0.2439, allocations: 172.5 kB / 0.9855 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2439, allocations: 0 / 0.9855 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.2439, allocations: 0 / 0.9855 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.2439, allocations: 0 / 0.9855 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004546/0.2444, allocations: 454.3 kB / 0.9859 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2444, allocations: 0 / 0.9859 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.955e-05/0.2445, allocations: 23.92 kB / 0.986 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2445, allocations: 0 / 0.986 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.2445, allocations: 0 / 0.986 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.2445, allocations: 4 kB / 0.986 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2445, allocations: 11.92 kB / 0.986 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.2448, allocations: 235.4 kB / 0.9862 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.794e-05/0.2448, allocations: 92.94 kB / 0.9863 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.2448, allocations: 0 / 0.9863 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.245, allocations: 19.98 kB / 0.9863 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.201e-05/0.245, allocations: 15.92 kB / 0.9863 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.245, allocations: 4 kB / 0.9863 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.553e-05/0.2451, allocations: 101 kB / 0.9864 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.2451, allocations: 0 / 0.9864 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002734/0.2454, allocations: 43.98 kB / 0.9865 GB, free: 20.48 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.0003007/0.2457, allocations: 171.3 kB / 0.9866 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002252/0.2459, allocations: 91.89 kB / 0.9867 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2459, allocations: 0 / 0.9867 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.246, allocations: 61.28 kB / 0.9868 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.2463, allocations: 16.47 kB / 0.9868 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004052/0.2467, allocations: 247.3 kB / 0.987 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.2469, allocations: 0.6965 MB / 0.9877 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.106e-05/0.2469, allocations: 16.41 kB / 0.9877 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.19e-05/0.247, allocations: 15.44 kB / 0.9877 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.247, allocations: 0 / 0.9877 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of Templates: time 0.003886/0.2509, allocations: 1.78 MB / 0.9895 GB, free: 17.35 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1)