Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009004/0.0009004, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001003/0.001003, allocations: 168.7 kB / 15.95 MB, free: 204 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.433/1.433, allocations: 205.4 MB / 222.1 MB, free: 5.887 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.674/1.674, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0004712/0.0004713, allocations: 16.25 kB / 0.6737 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2336, allocations: 116.3 MB / 0.7873 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001651/0.2353, allocations: 1.227 MB / 0.7885 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.2365, allocations: 0.7415 MB / 0.7892 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.949e-05/0.2365, allocations: 4 kB / 0.7892 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.034e-05/0.2366, allocations: 3.938 kB / 0.7892 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.397e-05/0.2366, allocations: 11.92 kB / 0.7892 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004139/0.2371, allocations: 103.8 kB / 0.7893 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.2372, allocations: 87.7 kB / 0.7894 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.471e-05/0.2373, allocations: 4 kB / 0.7894 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.367e-05/0.2374, allocations: 47.83 kB / 0.7895 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.478e-05/0.2374, allocations: 39.83 kB / 0.7895 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.2375, allocations: 4 kB / 0.7895 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.2377, allocations: 87.84 kB / 0.7896 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.291e-05/0.2377, allocations: 15.97 kB / 0.7896 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.822e-05/0.2378, allocations: 41.64 kB / 0.7896 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.2379, allocations: 108 kB / 0.7897 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2379, allocations: 0 / 0.7897 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2379, allocations: 0 / 0.7897 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.595e-06/0.2379, allocations: 0 / 0.7897 GB, free: 9.445 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006591/0.2386, allocations: 496.1 kB / 0.7902 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.2387, allocations: 8.031 kB / 0.7902 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.556e-05/0.2387, allocations: 7.906 kB / 0.7902 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.2388, allocations: 181.2 kB / 0.7904 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.2389, allocations: 3.938 kB / 0.7904 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.2389, allocations: 12 kB / 0.7904 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.2391, allocations: 77.64 kB / 0.7905 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.2391, allocations: 4 kB / 0.7905 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.2391, allocations: 7.984 kB / 0.7905 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.2391, allocations: 0 / 0.7905 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001397/0.2393, allocations: 55.84 kB / 0.7906 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005111/0.2398, allocations: 340.7 kB / 0.7909 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.24, allocations: 78.67 kB / 0.791 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.467e-05/0.2401, allocations: 52.86 kB / 0.791 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.2401, allocations: 3.984 kB / 0.791 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002238/0.2403, allocations: 95.36 kB / 0.7911 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.332e-06/0.2404, allocations: 0 / 0.7911 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0004019/0.2408, allocations: 185.8 kB / 0.7913 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.2408, allocations: 59.36 kB / 0.7913 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.2409, allocations: 134 kB / 0.7915 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.241, allocations: 25.7 kB / 0.7915 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.95e-05/0.241, allocations: 100 kB / 0.7916 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.241, allocations: 23.66 kB / 0.7916 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.675e-06/0.2411, allocations: 4 kB / 0.7916 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.2412, allocations: 322.8 kB / 0.7919 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.333e-05/0.2412, allocations: 31.98 kB / 0.7919 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.559e-05/0.2413, allocations: 75.8 kB / 0.792 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.742e-05/0.2414, allocations: 43.97 kB / 0.7921 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2415, allocations: 0 / 0.7921 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002499/0.2417, allocations: 137.4 kB / 0.7922 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.2417, allocations: 8 kB / 0.7922 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.2417, allocations: 0 / 0.7922 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.2418, allocations: 4 kB / 0.7922 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.2419, allocations: 19.92 kB / 0.7922 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.2419, allocations: 8.047 kB / 0.7922 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.19e-05/0.242, allocations: 23.83 kB / 0.7923 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.242, allocations: 8 kB / 0.7923 GB, free: 6.609 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,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.481e-05/0.2421, allocations: 122.4 kB / 0.7924 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.709e-05/0.2421, allocations: 7.906 kB / 0.7924 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003252/0.2425, allocations: 166.3 kB / 0.7925 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.2425, allocations: 0 / 0.7925 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2425, allocations: 0 / 0.7925 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.2425, allocations: 7.938 kB / 0.7925 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005483/0.243, allocations: 465.8 kB / 0.793 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.2431, allocations: 4 kB / 0.793 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.716e-05/0.2431, allocations: 11.98 kB / 0.793 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2431, allocations: 0 / 0.793 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.2432, allocations: 4 kB / 0.793 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.2432, allocations: 3.953 kB / 0.793 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.2432, allocations: 0 / 0.793 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002869/0.2435, allocations: 247.3 kB / 0.7933 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.775e-05/0.2435, allocations: 88.94 kB / 0.7933 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.2435, allocations: 11.94 kB / 0.7933 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.2437, allocations: 12 kB / 0.7934 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.2437, allocations: 15.92 kB / 0.7934 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.2437, allocations: 4 kB / 0.7934 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.279e-05/0.2438, allocations: 99.27 kB / 0.7935 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2438, allocations: 4 kB / 0.7935 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002936/0.2441, allocations: 43.98 kB / 0.7935 GB, free: 5.211 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 (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.0003126/0.2444, allocations: 158 kB / 0.7937 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002576/0.2447, allocations: 107.8 kB / 0.7938 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2447, allocations: 0 / 0.7938 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.2448, allocations: 47.98 kB / 0.7938 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.2451, allocations: 23.22 kB / 0.7938 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004664/0.2456, allocations: 251.6 kB / 0.7941 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.2459, allocations: 0.6926 MB / 0.7948 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.489e-05/0.2459, allocations: 16.42 kB / 0.7948 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.54e-05/0.246, allocations: 15.44 kB / 0.7948 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.246, allocations: 4 kB / 0.7948 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of Templates: time 0.00447/0.2505, allocations: 1.77 MB / 0.7965 GB, free: 2.102 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) Environment - environmentSimulation: