Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 104.1 kB / 15.98 MB, free: 5.891 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.001071/0.001071, allocations: 187.5 kB / 16.9 MB, free: 5.746 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.377/1.377, allocations: 205.1 MB / 222.8 MB, free: 4.648 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.667/1.667, allocations: 292.3 MB / 0.5492 GB, free: 13.63 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.001348/0.001349, allocations: 67.09 kB / 0.6716 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2217, allocations: 114.6 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002946/0.2247, allocations: 1.562 MB / 0.785 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.2261, allocations: 0.78 MB / 0.7858 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.28e-05/0.2262, allocations: 0 / 0.7858 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.738e-05/0.2263, allocations: 3.938 kB / 0.7858 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.721e-05/0.2263, allocations: 15.86 kB / 0.7858 GB, free: 11.5 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0006051/0.227, allocations: 107.8 kB / 0.7859 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.2271, allocations: 95.7 kB / 0.786 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.652e-05/0.2272, allocations: 12 kB / 0.786 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.2273, allocations: 47.83 kB / 0.7861 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.2e-05/0.2274, allocations: 39.84 kB / 0.7861 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.2274, allocations: 8 kB / 0.7861 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001957/0.2276, allocations: 95.91 kB / 0.7862 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.942e-05/0.2277, allocations: 27.89 kB / 0.7862 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.798e-05/0.2277, allocations: 31.86 kB / 0.7863 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.2279, allocations: 116 kB / 0.7864 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2279, allocations: 3.938 kB / 0.7864 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.253e-06/0.228, allocations: 4 kB / 0.7864 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.228, allocations: 0 / 0.7864 GB, free: 10.93 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.0006449/0.2286, allocations: 458.5 kB / 0.7868 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.2287, allocations: 12.02 kB / 0.7868 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.738e-05/0.2287, allocations: 8.844 kB / 0.7868 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.2288, allocations: 172.2 kB / 0.787 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.2289, allocations: 8.375 kB / 0.787 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.2289, allocations: 8.375 kB / 0.787 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.2291, allocations: 93.94 kB / 0.7871 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.2292, allocations: 0 / 0.7871 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.2292, allocations: 0 / 0.7871 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.2292, allocations: 0 / 0.7871 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.2293, allocations: 51.91 kB / 0.7872 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005805/0.2299, allocations: 328.7 kB / 0.7875 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.2301, allocations: 66.66 kB / 0.7875 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.2302, allocations: 48.77 kB / 0.7876 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.2303, allocations: 0 / 0.7876 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002721/0.2305, allocations: 91.36 kB / 0.7877 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.2305, allocations: 4 kB / 0.7877 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.000491/0.231, allocations: 185.5 kB / 0.7878 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/0.2311, allocations: 63.34 kB / 0.7879 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.2312, allocations: 126.1 kB / 0.788 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.2312, allocations: 29.7 kB / 0.7881 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.264e-05/0.2313, allocations: 88.38 kB / 0.7881 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.2314, allocations: 23.73 kB / 0.7882 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.855e-05/0.2314, allocations: 45.64 kB / 0.7882 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.2316, allocations: 318.8 kB / 0.7885 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.285e-05/0.2317, allocations: 27.97 kB / 0.7885 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.2318, allocations: 76.33 kB / 0.7886 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/0.232, allocations: 113.9 kB / 0.7887 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.232, allocations: 0 / 0.7887 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002687/0.2323, allocations: 145.3 kB / 0.7889 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.2323, allocations: 4 kB / 0.7889 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.2323, allocations: 0 / 0.7889 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.2323, allocations: 4 kB / 0.7889 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.895e-05/0.2324, allocations: 15.98 kB / 0.7889 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.2324, allocations: 4 kB / 0.7889 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.075e-05/0.2325, allocations: 8 kB / 0.7889 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.2326, allocations: 4 kB / 0.7889 GB, free: 8.07 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (bli.curSeed,$PRE.bli.curSeed,bli.pDown,$PRE.bli.pDown,bli.pUp,$PRE.bli.pUp,bli.isOpen,$PRE.bli.isOpen,bli.blindState,$PRE.bli.blindState,occ.y,bli.sampleTrigger,$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.000115/0.2327, allocations: 145.5 kB / 0.789 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.2327, allocations: 7.906 kB / 0.789 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.676e-05/0.2327, allocations: 4.375 kB / 0.789 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2328, allocations: 0 / 0.789 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.2328, allocations: 4 kB / 0.7891 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2328, allocations: 0 / 0.7891 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005782/0.2334, allocations: 438.4 kB / 0.7895 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.2334, allocations: 4 kB / 0.7895 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.162e-05/0.2334, allocations: 3.984 kB / 0.7895 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.2334, allocations: 4 kB / 0.7895 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.2334, allocations: 0 / 0.7895 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.2335, allocations: 3.938 kB / 0.7895 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2335, allocations: 3.938 kB / 0.7895 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003665/0.2338, allocations: 251.4 kB / 0.7897 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.968e-05/0.2339, allocations: 81.2 kB / 0.7898 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.997e-05/0.2339, allocations: 7.984 kB / 0.7898 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.234, allocations: 3.938 kB / 0.7898 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/0.2341, allocations: 19.86 kB / 0.7898 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.2341, allocations: 4 kB / 0.7898 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.598e-05/0.2342, allocations: 98.52 kB / 0.7899 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2342, allocations: 0 / 0.7899 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000333/0.2345, allocations: 43.98 kB / 0.79 GB, free: 6.871 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 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0003473/0.2349, allocations: 168.8 kB / 0.7901 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002764/0.2352, allocations: 95.83 kB / 0.7902 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2352, allocations: 320 / 0.7902 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.2353, allocations: 55.97 kB / 0.7903 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.2356, allocations: 15.92 kB / 0.7903 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004536/0.236, allocations: 258 kB / 0.7905 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.2363, allocations: 0.6885 MB / 0.7912 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.06e-05/0.2363, allocations: 11.44 kB / 0.7912 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of SimCode: time 3.4e-07/0.2363, allocations: 0 / 0.7912 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of Templates: time 0.003694/0.24, allocations: 1.782 MB / 0.793 GB, free: 3.758 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)