Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008023/0.0008021, allocations: 86.8 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.000791/0.0007912, 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.358/1.358, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.629/1.629, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0004611/0.0004612, allocations: 9.531 kB / 0.6737 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2204, allocations: 116.3 MB / 0.7873 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.001569/0.222, allocations: 1.199 MB / 0.7885 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001169/0.2231, allocations: 0.7076 MB / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.798e-05/0.2232, allocations: 3.938 kB / 0.7892 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.015e-05/0.2232, allocations: 0 / 0.7892 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.758e-05/0.2233, allocations: 15.84 kB / 0.7892 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005802/0.2239, allocations: 83.84 kB / 0.7892 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.224, allocations: 75.64 kB / 0.7893 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.396e-05/0.2241, allocations: 8 kB / 0.7893 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.245e-05/0.2242, allocations: 23.92 kB / 0.7893 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.445e-05/0.2243, allocations: 31.91 kB / 0.7894 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.2243, allocations: 0 / 0.7894 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002001/0.2245, allocations: 91.78 kB / 0.7895 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.485e-05/0.2246, allocations: 15.91 kB / 0.7895 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.164e-05/0.2246, allocations: 37.7 kB / 0.7895 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.2248, allocations: 92.06 kB / 0.7896 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2248, allocations: 4 kB / 0.7896 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2248, allocations: 0 / 0.7896 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.2248, allocations: 0 / 0.7896 GB, free: 9.574 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006587/0.2255, allocations: 434.5 kB / 0.79 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.2255, allocations: 8.031 kB / 0.79 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.316e-05/0.2256, allocations: 7.906 kB / 0.79 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.2257, allocations: 182.9 kB / 0.7902 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.286e-05/0.2258, allocations: 4 kB / 0.7902 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.953e-05/0.2258, allocations: 8 kB / 0.7902 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.226, allocations: 65.66 kB / 0.7903 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.2261, allocations: 7.938 kB / 0.7903 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.2261, allocations: 0 / 0.7903 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.2261, allocations: 0 / 0.7903 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.2262, allocations: 43.97 kB / 0.7903 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005357/0.2268, allocations: 308.7 kB / 0.7906 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.2269, allocations: 46.56 kB / 0.7907 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.317e-05/0.227, allocations: 36.97 kB / 0.7907 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.227, allocations: 0 / 0.7907 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002044/0.2272, allocations: 79.38 kB / 0.7908 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.624e-06/0.2272, allocations: 0 / 0.7908 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004134/0.2277, allocations: 153.6 kB / 0.7909 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.2277, allocations: 55.36 kB / 0.791 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.2279, allocations: 122.1 kB / 0.7911 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.2279, allocations: 33.69 kB / 0.7911 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.462e-05/0.228, allocations: 92.27 kB / 0.7912 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.228, allocations: 15.81 kB / 0.7912 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-06/0.228, allocations: 4 kB / 0.7912 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.2281, allocations: 318.8 kB / 0.7915 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.238e-05/0.2282, allocations: 23.98 kB / 0.7916 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.383e-05/0.2283, allocations: 65.19 kB / 0.7916 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.851e-05/0.2284, allocations: 39.92 kB / 0.7917 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2284, allocations: 0 / 0.7917 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002429/0.2287, allocations: 121.5 kB / 0.7918 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.2287, allocations: 4 kB / 0.7918 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.2287, allocations: 4.312 kB / 0.7918 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.2287, allocations: 0 / 0.7918 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.879e-05/0.2288, allocations: 15.98 kB / 0.7918 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.2289, allocations: 7.891 kB / 0.7918 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.853e-05/0.2289, allocations: 15.92 kB / 0.7918 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.2289, allocations: 12.11 kB / 0.7918 GB, free: 7.035 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: 9 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.pDown,bli.pDown,occ.y,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001069/0.2291, allocations: 126.4 kB / 0.792 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.664e-05/0.2291, allocations: 7.906 kB / 0.792 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.529e-05/0.2291, allocations: 4.375 kB / 0.792 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.2291, allocations: 4 kB / 0.792 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2291, allocations: 0 / 0.792 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.2291, allocations: 7.984 kB / 0.792 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004677/0.2296, allocations: 386.5 kB / 0.7924 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.2296, allocations: 3.984 kB / 0.7924 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.92e-05/0.2297, allocations: 4 kB / 0.7924 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.2297, allocations: 0 / 0.7924 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.2297, allocations: 4 kB / 0.7924 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.2297, allocations: 3.953 kB / 0.7924 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.2297, allocations: 4 kB / 0.7924 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.23, allocations: 211.4 kB / 0.7926 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.104e-05/0.2301, allocations: 85.02 kB / 0.7927 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.2301, allocations: 4 kB / 0.7927 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.236e-05/0.2302, allocations: 7.984 kB / 0.7927 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.2302, allocations: 7.953 kB / 0.7927 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.2303, allocations: 7.984 kB / 0.7927 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.669e-05/0.2303, allocations: 99.2 kB / 0.7928 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.2303, allocations: 0 / 0.7928 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003119/0.2306, allocations: 36 kB / 0.7928 GB, free: 5.941 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: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0003662/0.231, allocations: 162.1 kB / 0.793 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002553/0.2313, allocations: 79.88 kB / 0.793 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2313, allocations: 0 / 0.793 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.703e-05/0.2314, allocations: 35.98 kB / 0.7931 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.2317, allocations: 12.31 kB / 0.7931 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005002/0.2322, allocations: 207.1 kB / 0.7933 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.2325, allocations: 0.6911 MB / 0.794 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.295e-05/0.2326, allocations: 8.188 kB / 0.794 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.296e-05/0.2326, allocations: 11.42 kB / 0.794 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of SimCode: time 5.01e-07/0.2326, allocations: 0 / 0.794 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of Templates: time 0.004124/0.2368, allocations: 1.321 MB / 0.7953 GB, free: 3.383 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) Environment - environmentSimulation: