Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 109.3 kB / 16.36 MB, free: 6.426 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.001817/0.001817, allocations: 190.6 kB / 17.3 MB, free: 5.805 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.404/1.404, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.746/1.746, allocations: 292.3 MB / 0.5496 GB, free: 17.51 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.001418/0.001418, allocations: 71.89 kB / 0.6729 GB, free: 5.902 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2376, allocations: 114.6 MB / 0.7848 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.003446/0.241, allocations: 1.5 MB / 0.7862 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001589/0.2427, allocations: 0.7916 MB / 0.787 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.299e-05/0.2428, allocations: 0 / 0.787 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.292e-05/0.2428, allocations: 3.938 kB / 0.787 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.475e-05/0.243, allocations: 11.86 kB / 0.787 GB, free: 0.8906 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.0008585/0.2438, allocations: 139.5 kB / 0.7872 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.244, allocations: 91.75 kB / 0.7873 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.2442, allocations: 15.98 kB / 0.7873 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.2443, allocations: 39.84 kB / 0.7873 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.714e-05/0.2444, allocations: 47.83 kB / 0.7874 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/0.2445, allocations: 8 kB / 0.7874 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002575/0.2447, allocations: 95.91 kB / 0.7875 GB, free: 472 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.454e-05/0.2448, allocations: 27.84 kB / 0.7875 GB, free: 444 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.522e-05/0.2448, allocations: 35.86 kB / 0.7875 GB, free: 408 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002978/0.2452, allocations: 155.5 kB / 0.7877 GB, free: 252 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.2452, allocations: 0 / 0.7877 GB, free: 252 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2452, allocations: 4 kB / 0.7877 GB, free: 248 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.2452, allocations: 0 / 0.7877 GB, free: 248 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.4054/0.6506, allocations: 453 kB / 0.7881 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.6507, allocations: 10.25 kB / 0.7881 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.882e-05/0.6508, allocations: 9.875 kB / 0.7881 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.004e-05/0.6509, allocations: 177.8 kB / 0.7883 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/0.6509, allocations: 8.75 kB / 0.7883 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.6509, allocations: 11.78 kB / 0.7883 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.6512, allocations: 86.09 kB / 0.7884 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.6512, allocations: 0 / 0.7884 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.6512, allocations: 6.562 kB / 0.7884 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.6512, allocations: 0 / 0.7884 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.6514, allocations: 46.72 kB / 0.7884 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004972/0.6519, allocations: 316.5 kB / 0.7887 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.652, allocations: 75.8 kB / 0.7888 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.368e-05/0.6521, allocations: 45.31 kB / 0.7889 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.6522, allocations: 0 / 0.7889 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002193/0.6524, allocations: 97.12 kB / 0.7889 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.753e-06/0.6524, allocations: 4.062 kB / 0.789 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0004305/0.6528, allocations: 183.5 kB / 0.7891 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.6529, allocations: 65.38 kB / 0.7892 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.219e-05/0.6529, allocations: 127.5 kB / 0.7893 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.653, allocations: 28.75 kB / 0.7893 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.168e-05/0.653, allocations: 91.94 kB / 0.7894 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.653, allocations: 26.52 kB / 0.7895 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.146e-05/0.6531, allocations: 30.56 kB / 0.7895 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.43e-05/0.6531, allocations: 317.9 kB / 0.7898 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.303e-05/0.6532, allocations: 33.84 kB / 0.7898 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.298e-05/0.6533, allocations: 75.61 kB / 0.7899 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.6535, allocations: 112.2 kB / 0.79 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.6535, allocations: 0 / 0.79 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002223/0.6537, allocations: 137.2 kB / 0.7901 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.6537, allocations: 7.531 kB / 0.7901 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.6537, allocations: 3.312 kB / 0.7901 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.6537, allocations: 2.719 kB / 0.7901 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.806e-05/0.6538, allocations: 19.11 kB / 0.7902 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.6539, allocations: 5.062 kB / 0.7902 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.509e-05/0.6539, allocations: 8.609 kB / 0.7902 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.6539, allocations: 7.406 kB / 0.7902 GB, free: 47.47 MB / 0.6544 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 6.485e-05/0.654, allocations: 127.6 kB / 0.7903 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.905e-05/0.654, allocations: 8 kB / 0.7903 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.568e-05/0.6541, allocations: 15 kB / 0.7903 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.6541, allocations: 0.625 kB / 0.7903 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.6541, allocations: 0 / 0.7903 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.6541, allocations: 3.844 kB / 0.7903 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004115/0.6545, allocations: 438.7 kB / 0.7907 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.6545, allocations: 0.625 kB / 0.7907 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.144e-05/0.6546, allocations: 7.969 kB / 0.7908 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.6546, allocations: 6.812 kB / 0.7908 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.6546, allocations: 5.484 kB / 0.7908 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.6546, allocations: 0 / 0.7908 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.6546, allocations: 4 kB / 0.7908 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002881/0.6549, allocations: 252.9 kB / 0.791 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.029e-05/0.6549, allocations: 80.81 kB / 0.7911 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.655, allocations: 9.094 kB / 0.7911 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.869e-05/0.6551, allocations: 6.25 kB / 0.7911 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.6551, allocations: 3.5 kB / 0.7911 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.6551, allocations: 10 kB / 0.7911 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.856e-05/0.6552, allocations: 98.33 kB / 0.7912 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6552, allocations: 0.5625 kB / 0.7912 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003101/0.6555, allocations: 49.58 kB / 0.7913 GB, free: 46.73 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: 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.0003106/0.6558, allocations: 160.6 kB / 0.7914 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002442/0.6561, allocations: 95.02 kB / 0.7915 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.6561, allocations: 1.406 kB / 0.7915 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.6562, allocations: 47.81 kB / 0.7915 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.6565, allocations: 12.67 kB / 0.7916 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003762/0.6569, allocations: 204.2 kB / 0.7918 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.657, allocations: 0.6905 MB / 0.7924 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.474e-05/0.657, allocations: 4.875 kB / 0.7924 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.439e-05/0.657, allocations: 12.69 kB / 0.7924 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of SimCode: time 3.7e-07/0.6571, allocations: 3.062 kB / 0.7924 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of Templates: time 0.003935/0.661, allocations: 1.691 MB / 0.7941 GB, free: 45.75 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1)