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.0009647/0.000965, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007711/0.007711, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.4 MB / 222.5 MB, free: 5.555 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.696/1.696, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005806/0.000581, allocations: 12.06 kB / 0.6743 GB, free: 25.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2195, allocations: 116.3 MB / 0.7879 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001665/0.2212, allocations: 1.243 MB / 0.7891 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001365/0.2226, allocations: 0.7762 MB / 0.7899 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.714e-05/0.2226, allocations: 4 kB / 0.7899 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.094e-05/0.2227, allocations: 3.938 kB / 0.7899 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.2228, allocations: 15.86 kB / 0.7899 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004932/0.2233, allocations: 107.8 kB / 0.79 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000128/0.2234, allocations: 91.7 kB / 0.7901 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.961e-05/0.2235, allocations: 15.98 kB / 0.7901 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.2237, allocations: 43.83 kB / 0.7901 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.19e-05/0.2237, allocations: 39.83 kB / 0.7902 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.2238, allocations: 7.938 kB / 0.7902 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001839/0.224, allocations: 91.91 kB / 0.7903 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.872e-05/0.224, allocations: 15.97 kB / 0.7903 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.059e-05/0.2241, allocations: 61.5 kB / 0.7903 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.2243, allocations: 159.7 kB / 0.7905 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.2243, allocations: 0 / 0.7905 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2243, allocations: 0 / 0.7905 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.2243, allocations: 4 kB / 0.7905 GB, free: 8.902 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.0006983/0.225, allocations: 484.4 kB / 0.7909 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.2251, allocations: 8.031 kB / 0.791 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.127e-05/0.2251, allocations: 8.844 kB / 0.791 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.2253, allocations: 188.1 kB / 0.7911 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.2253, allocations: 4.359 kB / 0.7911 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.2253, allocations: 12.38 kB / 0.7912 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.2255, allocations: 89.89 kB / 0.7912 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.2256, allocations: 0 / 0.7912 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.2256, allocations: 0 / 0.7912 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.2256, allocations: 0 / 0.7912 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.2258, allocations: 55.97 kB / 0.7913 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00056/0.2263, allocations: 336.7 kB / 0.7916 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.2265, allocations: 82.67 kB / 0.7917 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.535e-05/0.2267, allocations: 44.84 kB / 0.7917 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.2267, allocations: 0 / 0.7917 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002489/0.2269, allocations: 103.3 kB / 0.7918 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.532e-06/0.227, allocations: 0 / 0.7918 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0004491/0.2274, allocations: 189.8 kB / 0.792 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.2275, allocations: 55.39 kB / 0.7921 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.2276, allocations: 130.1 kB / 0.7922 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.2276, allocations: 29.7 kB / 0.7922 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.898e-05/0.2277, allocations: 96.12 kB / 0.7923 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.2277, allocations: 27.64 kB / 0.7923 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.2277, allocations: 17.72 kB / 0.7924 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.2279, allocations: 322.8 kB / 0.7927 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.982e-05/0.2279, allocations: 35.98 kB / 0.7927 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.2281, allocations: 75.94 kB / 0.7928 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/0.2283, allocations: 116.9 kB / 0.7929 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.2283, allocations: 4 kB / 0.7929 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002619/0.2285, allocations: 141.3 kB / 0.793 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.2286, allocations: 4 kB / 0.793 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2286, allocations: 12.08 kB / 0.793 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.2286, allocations: 0 / 0.793 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.2287, allocations: 19.98 kB / 0.7931 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.2287, allocations: 3.938 kB / 0.7931 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.2288, allocations: 19.94 kB / 0.7931 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.2288, allocations: 7.984 kB / 0.7931 GB, free: 5.957 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 (lig.curSeed,$PRE.lig.curSeed,lig.on,$PRE.lig.on,$whenCondition3,lig.sampleTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.439e-05/0.2289, allocations: 125.8 kB / 0.7932 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/0.229, allocations: 7.906 kB / 0.7932 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003357/0.2293, allocations: 173.3 kB / 0.7934 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.2293, allocations: 0 / 0.7934 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.2293, allocations: 0 / 0.7934 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2293, allocations: 0 / 0.7934 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006015/0.23, allocations: 466.2 kB / 0.7938 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.23, allocations: 0 / 0.7938 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.614e-05/0.23, allocations: 11.98 kB / 0.7938 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.2301, allocations: 0 / 0.7938 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.2301, allocations: 8 kB / 0.7938 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.101e-05/0.2301, allocations: 4 kB / 0.7938 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.2301, allocations: 3.938 kB / 0.7939 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003101/0.2304, allocations: 247.4 kB / 0.7941 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.341e-05/0.2305, allocations: 88.95 kB / 0.7942 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.2305, allocations: 0 / 0.7942 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.2306, allocations: 11.98 kB / 0.7942 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.2307, allocations: 23.86 kB / 0.7942 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-05/0.2307, allocations: 7.984 kB / 0.7942 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.953e-05/0.2308, allocations: 99.27 kB / 0.7943 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2308, allocations: 0 / 0.7943 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003227/0.2311, allocations: 44 kB / 0.7944 GB, free: 4.555 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003477/0.2315, allocations: 168.9 kB / 0.7945 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002525/0.2317, allocations: 95.88 kB / 0.7946 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2318, allocations: 3.938 kB / 0.7946 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.2319, allocations: 55.92 kB / 0.7947 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.2322, allocations: 20.17 kB / 0.7947 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004863/0.2327, allocations: 247.3 kB / 0.7949 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.233, allocations: 0.7004 MB / 0.7956 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.425e-05/0.233, allocations: 8.438 kB / 0.7956 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.678e-05/0.2331, allocations: 19.42 kB / 0.7956 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of SimCode: time 4.2e-07/0.2331, allocations: 0 / 0.7956 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of Templates: time 0.004586/0.2377, allocations: 1.817 MB / 0.7974 GB, free: 1.395 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: