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.001252/0.001252, allocations: 106.7 kB / 16.35 MB, free: 5.879 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.001262/0.001262, allocations: 194.6 kB / 17.29 MB, free: 5.516 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.425/1.425, allocations: 205.1 MB / 223.2 MB, free: 4.516 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.686/1.686, allocations: 292.3 MB / 0.5496 GB, free: 12.78 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.001438/0.001439, allocations: 74.25 kB / 0.6729 GB, free: 25.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2478, allocations: 114.5 MB / 0.7848 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.003639/0.2514, allocations: 1.506 MB / 0.7862 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001631/0.2531, allocations: 0.7848 MB / 0.787 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.24e-05/0.2532, allocations: 0 / 0.787 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.797e-05/0.2533, allocations: 11.86 kB / 0.787 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.138e-05/0.2534, allocations: 15.88 kB / 0.787 GB, free: 10.43 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.0007885/0.2542, allocations: 131.5 kB / 0.7872 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000169/0.2544, allocations: 95.69 kB / 0.7872 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.2545, allocations: 7.984 kB / 0.7873 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.2546, allocations: 39.92 kB / 0.7873 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.2547, allocations: 47.81 kB / 0.7873 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.663e-05/0.2548, allocations: 12 kB / 0.7873 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000239/0.255, allocations: 99.84 kB / 0.7874 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.276e-05/0.2551, allocations: 19.92 kB / 0.7875 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.066e-05/0.2551, allocations: 31.86 kB / 0.7875 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003093/0.2554, allocations: 163.5 kB / 0.7876 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.2555, allocations: 7.922 kB / 0.7877 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2555, allocations: 0 / 0.7877 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.2555, allocations: 0 / 0.7877 GB, free: 9.789 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.0006691/0.2561, allocations: 464.9 kB / 0.7881 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.2562, allocations: 8.031 kB / 0.7881 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.328e-05/0.2563, allocations: 8.844 kB / 0.7881 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.2564, allocations: 172.3 kB / 0.7883 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/0.2564, allocations: 8.375 kB / 0.7883 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.2565, allocations: 4.375 kB / 0.7883 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.2567, allocations: 93.89 kB / 0.7884 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.2567, allocations: 0 / 0.7884 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.2567, allocations: 3.984 kB / 0.7884 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.2567, allocations: 0 / 0.7884 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.2569, allocations: 47.97 kB / 0.7884 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005506/0.2574, allocations: 324.7 kB / 0.7887 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.2576, allocations: 74.56 kB / 0.7888 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.2577, allocations: 48.84 kB / 0.7889 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.2578, allocations: 0 / 0.7889 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000233/0.258, allocations: 99.23 kB / 0.789 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.258, allocations: 0 / 0.789 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0004795/0.2585, allocations: 185.5 kB / 0.7891 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.2586, allocations: 51.41 kB / 0.7892 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.2587, allocations: 137.7 kB / 0.7893 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.2587, allocations: 29.7 kB / 0.7893 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.414e-05/0.2588, allocations: 96.3 kB / 0.7894 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.2588, allocations: 19.75 kB / 0.7895 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.521e-05/0.2589, allocations: 29.7 kB / 0.7895 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.2591, allocations: 326.8 kB / 0.7898 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.04e-05/0.2592, allocations: 27.98 kB / 0.7898 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.2593, allocations: 73.98 kB / 0.7899 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.2595, allocations: 109.9 kB / 0.79 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2595, allocations: 0 / 0.79 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002486/0.2597, allocations: 137.3 kB / 0.7901 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.2598, allocations: 8 kB / 0.7901 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2598, allocations: 0 / 0.7901 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.2598, allocations: 8.156 kB / 0.7901 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.275e-05/0.2599, allocations: 15.98 kB / 0.7902 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.2599, allocations: 3.938 kB / 0.7902 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.733e-05/0.26, allocations: 11.98 kB / 0.7902 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.26, allocations: 8 kB / 0.7902 GB, free: 6.93 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.0001006/0.2601, allocations: 128.6 kB / 0.7903 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.2601, allocations: 7.906 kB / 0.7903 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.801e-05/0.2602, allocations: 12.38 kB / 0.7903 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2602, allocations: 0 / 0.7903 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2602, allocations: 0 / 0.7903 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.2602, allocations: 3.984 kB / 0.7903 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005599/0.2608, allocations: 442.7 kB / 0.7907 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2608, allocations: 0 / 0.7907 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.129e-05/0.2608, allocations: 7.938 kB / 0.7908 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.2608, allocations: 0 / 0.7908 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.2609, allocations: 7.984 kB / 0.7908 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.2609, allocations: 8 kB / 0.7908 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2609, allocations: 3.938 kB / 0.7908 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003725/0.2612, allocations: 251.4 kB / 0.791 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.561e-05/0.2613, allocations: 84.95 kB / 0.7911 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.2613, allocations: 0 / 0.7911 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.7e-05/0.2614, allocations: 4.094 kB / 0.7911 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.642e-05/0.2615, allocations: 19.91 kB / 0.7911 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.2615, allocations: 11.98 kB / 0.7911 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.182e-05/0.2616, allocations: 94.02 kB / 0.7912 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2616, allocations: 4 kB / 0.7912 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003208/0.2619, allocations: 36 kB / 0.7913 GB, free: 5.73 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.0003938/0.2623, allocations: 177.2 kB / 0.7914 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002806/0.2626, allocations: 91.83 kB / 0.7915 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2626, allocations: 0 / 0.7915 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.2628, allocations: 47.97 kB / 0.7916 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.2631, allocations: 11.98 kB / 0.7916 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004835/0.2636, allocations: 204.4 kB / 0.7918 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.2639, allocations: 0.6924 MB / 0.7924 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.904e-05/0.2639, allocations: 4 kB / 0.7924 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/0.264, allocations: 15.42 kB / 0.7925 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of SimCode: time 4.51e-07/0.264, allocations: 0 / 0.7925 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of Templates: time 0.004501/0.2685, allocations: 1.702 MB / 0.7941 GB, free: 2.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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)