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.001297/0.001297, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 196.1 kB / 16.64 MB, free: 6.453 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.427/1.427, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.814/1.814, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001423/0.001423, allocations: 75.38 kB / 0.6723 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2312, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.003295/0.2346, allocations: 1.51 MB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001475/0.2361, allocations: 0.7848 MB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.103e-05/0.2362, allocations: 3.938 kB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.135e-05/0.2363, allocations: 7.875 kB / 0.7864 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.551e-05/0.2363, allocations: 15.88 kB / 0.7864 GB, free: 10.41 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:499:7-563:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:2:1-32:29:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState'. [/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.0007357/0.2371, allocations: 123.6 kB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.2372, allocations: 99.69 kB / 0.7866 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.2373, allocations: 7.984 kB / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.447e-05/0.2375, allocations: 35.92 kB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.815e-05/0.2375, allocations: 55.81 kB / 0.7867 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.2376, allocations: 8 kB / 0.7867 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002006/0.2378, allocations: 95.84 kB / 0.7868 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.227e-05/0.2378, allocations: 23.92 kB / 0.7868 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.731e-05/0.2379, allocations: 39.78 kB / 0.7869 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002773/0.2382, allocations: 159.6 kB / 0.787 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.2382, allocations: 0 / 0.787 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2382, allocations: 3.938 kB / 0.787 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.2382, allocations: 0 / 0.787 GB, free: 9.766 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.0006868/0.2389, allocations: 462.5 kB / 0.7875 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.2389, allocations: 8.031 kB / 0.7875 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.117e-05/0.239, allocations: 12.78 kB / 0.7875 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.2392, allocations: 175.5 kB / 0.7876 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.26e-05/0.2392, allocations: 4.375 kB / 0.7876 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.2392, allocations: 8.375 kB / 0.7877 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.2395, allocations: 97.88 kB / 0.7877 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.2395, allocations: 0 / 0.7877 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.2395, allocations: 0 / 0.7877 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.2395, allocations: 4 kB / 0.7878 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.2397, allocations: 43.97 kB / 0.7878 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006335/0.2403, allocations: 324.6 kB / 0.7881 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.2405, allocations: 70.58 kB / 0.7882 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.2406, allocations: 52.84 kB / 0.7882 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.2407, allocations: 0 / 0.7882 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002199/0.2409, allocations: 91.34 kB / 0.7883 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.2409, allocations: 0 / 0.7883 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0004861/0.2414, allocations: 185.5 kB / 0.7885 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.2414, allocations: 59.39 kB / 0.7885 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.2416, allocations: 129.8 kB / 0.7887 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.2416, allocations: 29.69 kB / 0.7887 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.099e-05/0.2417, allocations: 92.38 kB / 0.7888 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.2417, allocations: 23.69 kB / 0.7888 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.365e-05/0.2417, allocations: 29.7 kB / 0.7888 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.2419, allocations: 326.8 kB / 0.7891 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.075e-05/0.2419, allocations: 27.98 kB / 0.7892 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.2421, allocations: 73.98 kB / 0.7892 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.2423, allocations: 113.9 kB / 0.7894 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2423, allocations: 0 / 0.7894 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002475/0.2425, allocations: 137.3 kB / 0.7895 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.2426, allocations: 8 kB / 0.7895 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.2426, allocations: 4.141 kB / 0.7895 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.2426, allocations: 8 kB / 0.7895 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.116e-05/0.2427, allocations: 12 kB / 0.7895 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.2427, allocations: 3.938 kB / 0.7895 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.746e-05/0.2428, allocations: 11.98 kB / 0.7895 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.2428, allocations: 11.98 kB / 0.7895 GB, free: 6.902 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.0001116/0.2429, allocations: 128.6 kB / 0.7897 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.79e-05/0.2429, allocations: 7.844 kB / 0.7897 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.994e-05/0.243, allocations: 20.73 kB / 0.7897 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.243, allocations: 0 / 0.7897 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.243, allocations: 0 / 0.7897 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.243, allocations: 4 kB / 0.7897 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005255/0.2435, allocations: 438.4 kB / 0.7901 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.2436, allocations: 0 / 0.7901 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.04e-05/0.2436, allocations: 11.94 kB / 0.7901 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2436, allocations: 0 / 0.7901 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.2436, allocations: 11.98 kB / 0.7901 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2436, allocations: 0 / 0.7901 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.2436, allocations: 3.938 kB / 0.7901 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003406/0.244, allocations: 239.4 kB / 0.7904 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.669e-05/0.244, allocations: 85.02 kB / 0.7904 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.2441, allocations: 4 kB / 0.7905 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.595e-05/0.2442, allocations: 7.984 kB / 0.7905 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.2442, allocations: 11.94 kB / 0.7905 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.2443, allocations: 7.984 kB / 0.7905 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.495e-05/0.2443, allocations: 95.27 kB / 0.7906 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2443, allocations: 0 / 0.7906 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003234/0.2447, allocations: 40 kB / 0.7906 GB, free: 5.711 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.0004027/0.2451, allocations: 169.6 kB / 0.7908 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002997/0.2454, allocations: 91.81 kB / 0.7909 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.2454, allocations: 0 / 0.7909 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.2455, allocations: 47.98 kB / 0.7909 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.2458, allocations: 11.98 kB / 0.7909 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005367/0.2464, allocations: 211.7 kB / 0.7911 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.2467, allocations: 0.6924 MB / 0.7918 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.384e-05/0.2468, allocations: 11.92 kB / 0.7918 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.593e-05/0.2468, allocations: 11.44 kB / 0.7918 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.2468, allocations: 0 / 0.7918 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of Templates: time 0.005239/0.2521, allocations: 1.701 MB / 0.7935 GB, free: 2.738 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)