Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/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") 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.302/2.302, allocations: 251.1 MB / 266.7 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001322/0.001322, allocations: 184.5 kB / 326.3 MB, free: 2.812 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.284/2.284, allocations: 205.4 MB / 0.5772 GB, free: 20.74 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009018/0.0009018, allocations: 92.92 kB / 0.6817 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004623/0.0004624, allocations: 11.09 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2055, allocations: 106.3 MB / 0.8995 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001796/0.2074, allocations: 1.223 MB / 0.9007 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.2089, allocations: 0.7569 MB / 0.9014 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.823e-05/0.209, allocations: 0 / 0.9014 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.356e-05/0.209, allocations: 7.922 kB / 0.9014 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.993e-05/0.2091, allocations: 15.86 kB / 0.9015 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005253/0.2097, allocations: 103.8 kB / 0.9015 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.2098, allocations: 83.7 kB / 0.9016 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.266e-05/0.2099, allocations: 16 kB / 0.9016 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.21, allocations: 39.83 kB / 0.9017 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.992e-05/0.2101, allocations: 39.83 kB / 0.9017 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.2102, allocations: 4 kB / 0.9017 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002131/0.2104, allocations: 87.86 kB / 0.9018 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.773e-05/0.2104, allocations: 19.95 kB / 0.9018 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.973e-05/0.2105, allocations: 37.64 kB / 0.9019 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.2107, allocations: 107.8 kB / 0.902 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2107, allocations: 4 kB / 0.902 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2107, allocations: 0 / 0.902 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.2107, allocations: 0 / 0.902 GB, free: 62.91 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.0007899/0.2115, allocations: 488.5 kB / 0.9024 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.2116, allocations: 12.02 kB / 0.9024 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.872e-05/0.2116, allocations: 8.844 kB / 0.9025 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.2117, allocations: 176.3 kB / 0.9026 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.2118, allocations: 8.312 kB / 0.9026 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.2118, allocations: 8.375 kB / 0.9026 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002441/0.2121, allocations: 85.89 kB / 0.9027 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.2121, allocations: 0 / 0.9027 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.2121, allocations: 0 / 0.9027 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.2121, allocations: 0 / 0.9027 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000237/0.2124, allocations: 67.89 kB / 0.9028 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000638/0.213, allocations: 336.5 kB / 0.9031 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002869/0.2133, allocations: 86.67 kB / 0.9032 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.2135, allocations: 48.81 kB / 0.9032 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.2135, allocations: 0 / 0.9032 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000281/0.2138, allocations: 107.4 kB / 0.9033 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 2.354e-06/0.2138, allocations: 0 / 0.9033 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0006028/0.2145, allocations: 177.5 kB / 0.9035 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.2145, allocations: 59.41 kB / 0.9036 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.2146, allocations: 132.4 kB / 0.9037 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.2146, allocations: 29.7 kB / 0.9037 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.2147, allocations: 96.12 kB / 0.9038 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.2147, allocations: 23.66 kB / 0.9038 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.005e-05/0.2148, allocations: 0 / 0.9038 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.206e-05/0.2148, allocations: 334.8 kB / 0.9042 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.215, allocations: 27.98 kB / 0.9042 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.2151, allocations: 73.06 kB / 0.9042 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.2153, allocations: 39.98 kB / 0.9043 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2153, allocations: 0 / 0.9043 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003678/0.2157, allocations: 145.4 kB / 0.9044 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.2157, allocations: 5.562 kB / 0.9044 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.2157, allocations: 0 / 0.9044 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.2157, allocations: 8.094 kB / 0.9044 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.2159, allocations: 23.92 kB / 0.9045 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.2159, allocations: 4 kB / 0.9045 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.2161, allocations: 11.91 kB / 0.9045 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.2161, allocations: 7.984 kB / 0.9045 GB, free: 60.08 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 0.0001005/0.2163, allocations: 125.8 kB / 0.9046 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/0.2163, allocations: 11.91 kB / 0.9046 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000473/0.2168, allocations: 162.2 kB / 0.9048 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.2168, allocations: 0 / 0.9048 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2168, allocations: 0 / 0.9048 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.578e-05/0.2168, allocations: 93 kB / 0.9049 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/0.2169, allocations: 0 / 0.9049 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.217, allocations: 19.92 kB / 0.9049 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.812e-05/0.2171, allocations: 15.98 kB / 0.9049 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004911/0.2176, allocations: 239 kB / 0.9051 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004415/0.2181, allocations: 326.6 kB / 0.9054 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001601/0.2183, allocations: 51.97 kB / 0.9055 GB, free: 59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.049e-05/0.2183, allocations: 100.2 kB / 0.9056 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of Backend: time 8.12e-07/0.2183, allocations: 0 / 0.9056 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008354/0.2192, allocations: 195.5 kB / 0.9058 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005719/0.2198, allocations: 0.6729 MB / 0.9064 GB, free: 58 MB / 0.6042 GB Notification: Performance of Templates: time 0.005702/0.2255, allocations: 1.717 MB / 0.9081 GB, free: 56.29 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1)