Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.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.Inkarojrit2008BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009585/0.0009586, allocations: 106.9 kB / 16.36 MB, free: 6.016 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.001012/0.001012, allocations: 195.8 kB / 17.3 MB, free: 5.613 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.388/1.388, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.798/1.798, allocations: 292.3 MB / 0.5496 GB, free: 17.46 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.001455/0.001455, allocations: 71.91 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2011, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002626/0.2038, allocations: 1.493 MB / 0.7862 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001243/0.2051, allocations: 0.7837 MB / 0.787 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.964e-05/0.2051, allocations: 0 / 0.787 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.878e-05/0.2052, allocations: 3.938 kB / 0.787 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.602e-05/0.2052, allocations: 19.86 kB / 0.787 GB, free: 0.8359 MB / 0.6544 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.0005585/0.2058, allocations: 119.6 kB / 0.7871 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.2059, allocations: 79.72 kB / 0.7872 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.558e-05/0.206, allocations: 8.172 kB / 0.7872 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.468e-05/0.2061, allocations: 35.91 kB / 0.7873 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.252e-05/0.2062, allocations: 31.84 kB / 0.7873 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.2062, allocations: 8 kB / 0.7873 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001811/0.2064, allocations: 99.84 kB / 0.7874 GB, free: 472 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.683e-05/0.2064, allocations: 19.97 kB / 0.7874 GB, free: 452 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.206e-05/0.2065, allocations: 35.8 kB / 0.7874 GB, free: 416 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.2067, allocations: 139.6 kB / 0.7876 GB, free: 276 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2067, allocations: 0 / 0.7876 GB, free: 276 kB / 0.6544 GB Notification: Performance of FrontEnd: time 2.685e-06/0.2067, allocations: 0 / 0.7876 GB, free: 276 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.2068, allocations: 3.938 kB / 0.7876 GB, free: 272 kB / 0.6544 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.3941/0.6008, allocations: 443.8 kB / 0.788 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.6009, allocations: 10.41 kB / 0.788 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.748e-05/0.6009, allocations: 8.406 kB / 0.788 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.6011, allocations: 172.8 kB / 0.7882 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.053e-05/0.6011, allocations: 7.984 kB / 0.7882 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.6011, allocations: 10.47 kB / 0.7882 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.6014, allocations: 72.58 kB / 0.7883 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.6014, allocations: 4.562 kB / 0.7883 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.6014, allocations: 3.938 kB / 0.7883 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.6014, allocations: 0 / 0.7883 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.6015, allocations: 38.23 kB / 0.7883 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000469/0.602, allocations: 301.4 kB / 0.7886 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.6022, allocations: 59.14 kB / 0.7887 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.894e-05/0.6022, allocations: 30.97 kB / 0.7887 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.6023, allocations: 6.25 kB / 0.7887 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002202/0.6025, allocations: 77.45 kB / 0.7888 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.6025, allocations: 0 / 0.7888 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003759/0.6029, allocations: 147.5 kB / 0.7889 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.6029, allocations: 59.11 kB / 0.789 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.605e-05/0.603, allocations: 123 kB / 0.7891 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.603, allocations: 30.77 kB / 0.7891 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.381e-05/0.6031, allocations: 92.92 kB / 0.7892 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.6031, allocations: 16.64 kB / 0.7892 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.6031, allocations: 29.02 kB / 0.7892 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.519e-05/0.6032, allocations: 327.1 kB / 0.7896 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.463e-05/0.6033, allocations: 20.84 kB / 0.7896 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.142e-05/0.6033, allocations: 63 kB / 0.7896 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.6035, allocations: 94.17 kB / 0.7897 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.6035, allocations: 0 / 0.7897 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002026/0.6037, allocations: 110.8 kB / 0.7898 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.6037, allocations: 8.781 kB / 0.7898 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.6037, allocations: 0 / 0.7898 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.6038, allocations: 7.094 kB / 0.7898 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.939e-05/0.6039, allocations: 14.81 kB / 0.7899 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.6039, allocations: 3.312 kB / 0.7899 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.118e-05/0.6039, allocations: 9.609 kB / 0.7899 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.604, allocations: 2.5 kB / 0.7899 GB, free: 47.39 MB / 0.6544 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 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.p,$PRE.bli.p,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 (11): * Single equations (assignments): 11 * 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 7.519e-05/0.604, allocations: 130.4 kB / 0.79 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.814e-05/0.6041, allocations: 9.75 kB / 0.79 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.851e-05/0.6041, allocations: 7.062 kB / 0.79 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.6041, allocations: 2.406 kB / 0.79 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.6041, allocations: 5.812 kB / 0.79 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.6041, allocations: 1.031 kB / 0.79 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003878/0.6045, allocations: 390.7 kB / 0.7904 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.6045, allocations: 0 / 0.7904 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.839e-05/0.6046, allocations: 6.391 kB / 0.7904 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.6046, allocations: 0.9375 kB / 0.7904 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.6046, allocations: 5.531 kB / 0.7904 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.6046, allocations: 2.25 kB / 0.7904 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.6046, allocations: 0 / 0.7904 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.6049, allocations: 221.7 kB / 0.7906 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.463e-05/0.6049, allocations: 84.64 kB / 0.7907 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.6049, allocations: 6.312 kB / 0.7907 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.509e-05/0.605, allocations: 9.484 kB / 0.7907 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.6051, allocations: 6.562 kB / 0.7907 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.6051, allocations: 6 kB / 0.7907 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.789e-05/0.6051, allocations: 98.55 kB / 0.7908 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6052, allocations: 0.5625 kB / 0.7908 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003194/0.6055, allocations: 42.73 kB / 0.7909 GB, free: 46.66 MB / 0.6544 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.p,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 (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.0003372/0.6058, allocations: 162.8 kB / 0.791 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002306/0.6061, allocations: 74.7 kB / 0.7911 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.6061, allocations: 0 / 0.7911 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.956e-05/0.6062, allocations: 44.28 kB / 0.7911 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.6065, allocations: 11.45 kB / 0.7911 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004055/0.6069, allocations: 187.5 kB / 0.7913 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.607, allocations: 0.6944 MB / 0.792 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.017e-05/0.6071, allocations: 2.625 kB / 0.792 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.293e-05/0.6071, allocations: 10.06 kB / 0.792 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of SimCode: time 3.3e-07/0.6071, allocations: 0 / 0.792 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of Templates: time 0.004902/0.612, allocations: 1.501 MB / 0.7935 GB, free: 45.68 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & ./Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1)