Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008778/0.0008775, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00651/0.00651, allocations: 169 kB / 16.26 MB, free: 6.66 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.362/1.362, 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.778/1.778, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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.0005389/0.000539, allocations: 12.38 kB / 0.6743 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2189, allocations: 116.3 MB / 0.7879 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.002294/0.2212, allocations: 1.266 MB / 0.7891 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00151/0.2228, allocations: 0.7878 MB / 0.7899 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.464e-05/0.2228, allocations: 4 kB / 0.7899 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.22e-05/0.2229, allocations: 3.938 kB / 0.7899 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.69e-05/0.223, allocations: 15.86 kB / 0.7899 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005193/0.2235, allocations: 107.8 kB / 0.79 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.2237, allocations: 95.69 kB / 0.7901 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.405e-05/0.2238, allocations: 11.98 kB / 0.7901 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.2239, allocations: 39.8 kB / 0.7901 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.617e-05/0.224, allocations: 47.81 kB / 0.7902 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.224, allocations: 4 kB / 0.7902 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002019/0.2242, allocations: 95.84 kB / 0.7903 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.91e-05/0.2243, allocations: 15.92 kB / 0.7903 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.724e-05/0.2244, allocations: 69.42 kB / 0.7904 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.2246, allocations: 151.8 kB / 0.7905 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2246, allocations: 4 kB / 0.7905 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2246, allocations: 0 / 0.7905 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.2246, allocations: 0 / 0.7905 GB, free: 8.879 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.0008264/0.2255, allocations: 0.4924 MB / 0.791 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.2255, allocations: 12.03 kB / 0.791 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.323e-05/0.2256, allocations: 8.844 kB / 0.791 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.2258, allocations: 184.1 kB / 0.7912 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.2258, allocations: 8.375 kB / 0.7912 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.2258, allocations: 4.375 kB / 0.7912 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.226, allocations: 85.95 kB / 0.7913 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.2261, allocations: 0 / 0.7913 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.2261, allocations: 11.92 kB / 0.7913 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.2261, allocations: 4 kB / 0.7913 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.2263, allocations: 55.89 kB / 0.7914 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006341/0.2269, allocations: 332.8 kB / 0.7917 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.2271, allocations: 82.66 kB / 0.7917 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.755e-05/0.2272, allocations: 40.84 kB / 0.7918 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.2273, allocations: 12.03 kB / 0.7918 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002541/0.2275, allocations: 99.27 kB / 0.7919 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.663e-06/0.2276, allocations: 0 / 0.7919 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0004696/0.228, allocations: 181.8 kB / 0.7921 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.2281, allocations: 59.41 kB / 0.7921 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.2282, allocations: 144.2 kB / 0.7923 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.2283, allocations: 29.7 kB / 0.7923 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.89e-05/0.2283, allocations: 100.1 kB / 0.7924 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.2284, allocations: 27.61 kB / 0.7924 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-05/0.2284, allocations: 21.7 kB / 0.7924 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.2286, allocations: 326.8 kB / 0.7927 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.73e-05/0.2287, allocations: 27.98 kB / 0.7928 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.2288, allocations: 80.08 kB / 0.7928 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.229, allocations: 109.1 kB / 0.793 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.229, allocations: 0 / 0.793 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002704/0.2293, allocations: 137.4 kB / 0.7931 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.2293, allocations: 4 kB / 0.7931 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.2293, allocations: 4 kB / 0.7931 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.2293, allocations: 4.094 kB / 0.7931 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.2295, allocations: 27.92 kB / 0.7931 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.2295, allocations: 4 kB / 0.7931 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.2296, allocations: 15.92 kB / 0.7931 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.2296, allocations: 11.94 kB / 0.7932 GB, free: 5.902 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 0.0001005/0.2297, allocations: 126.5 kB / 0.7933 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/0.2298, allocations: 19.8 kB / 0.7933 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003525/0.2301, allocations: 170.3 kB / 0.7935 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.2301, allocations: 0 / 0.7935 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2301, allocations: 4 kB / 0.7935 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.2301, allocations: 3.984 kB / 0.7935 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006269/0.2308, allocations: 473.7 kB / 0.7939 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2308, allocations: 0 / 0.7939 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.027e-05/0.2309, allocations: 16 kB / 0.7939 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.2309, allocations: 7.984 kB / 0.7939 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.2309, allocations: 0 / 0.7939 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.2309, allocations: 0 / 0.7939 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2309, allocations: 7.875 kB / 0.7939 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003192/0.2313, allocations: 251.3 kB / 0.7942 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.515e-05/0.2313, allocations: 85.02 kB / 0.7943 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.2313, allocations: 7.984 kB / 0.7943 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.2315, allocations: 8 kB / 0.7943 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/0.2315, allocations: 15.92 kB / 0.7943 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.2316, allocations: 15.98 kB / 0.7943 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.012e-05/0.2316, allocations: 109.1 kB / 0.7944 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2316, allocations: 0 / 0.7944 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003173/0.232, allocations: 43.98 kB / 0.7945 GB, free: 4.461 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 (14): * Single equations (assignments): 11 * 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.0003663/0.2323, allocations: 162.6 kB / 0.7946 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002503/0.2326, allocations: 103.8 kB / 0.7947 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.2326, allocations: 0 / 0.7947 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.2327, allocations: 59.91 kB / 0.7948 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.2331, allocations: 16.45 kB / 0.7948 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005115/0.2336, allocations: 286.8 kB / 0.7951 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.2339, allocations: 0.7083 MB / 0.7957 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.637e-05/0.234, allocations: 12.53 kB / 0.7958 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.911e-05/0.234, allocations: 19.38 kB / 0.7958 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of SimCode: time 2.8e-07/0.234, allocations: 0 / 0.7958 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of Templates: time 0.004533/0.2386, allocations: 1.843 MB / 0.7976 GB, free: 1.223 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) Environment - environmentSimulation: