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.00139/0.00139, allocations: 106.6 kB / 16.29 MB, free: 6.43 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.001516/0.001516, allocations: 184 kB / 17.22 MB, free: 5.934 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.514/1.514, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.85/1.85, allocations: 292.3 MB / 0.5495 GB, free: 17.53 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.002234/0.002234, allocations: 71.91 kB / 0.6722 GB, free: 6.504 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2492, allocations: 114.6 MB / 0.7841 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002526/0.2518, allocations: 1.499 MB / 0.7855 GB, free: 2.324 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.253, allocations: 0.7876 MB / 0.7863 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.468e-05/0.253, allocations: 0 / 0.7863 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.749e-05/0.2531, allocations: 7.938 kB / 0.7863 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.218e-05/0.2531, allocations: 15.84 kB / 0.7863 GB, free: 1.504 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.0005283/0.2537, allocations: 135.5 kB / 0.7865 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.2538, allocations: 91.7 kB / 0.7865 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.481e-05/0.2539, allocations: 15.98 kB / 0.7866 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.042e-05/0.254, allocations: 47.89 kB / 0.7866 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.224e-05/0.2541, allocations: 47.83 kB / 0.7867 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.2541, allocations: 4 kB / 0.7867 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001803/0.2543, allocations: 95.84 kB / 0.7867 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.908e-05/0.2543, allocations: 23.91 kB / 0.7868 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.246e-05/0.2544, allocations: 39.86 kB / 0.7868 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.2546, allocations: 151.8 kB / 0.787 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2546, allocations: 0 / 0.787 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2546, allocations: 0 / 0.787 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.2546, allocations: 4 kB / 0.787 GB, free: 0.8594 MB / 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.0005563/0.2552, allocations: 466.5 kB / 0.7874 GB, free: 352 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.856e-05/0.2552, allocations: 8.031 kB / 0.7874 GB, free: 344 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/0.2553, allocations: 8.844 kB / 0.7874 GB, free: 336 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.2554, allocations: 180.2 kB / 0.7876 GB, free: 116 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/0.2554, allocations: 8.375 kB / 0.7876 GB, free: 108 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.2554, allocations: 4.375 kB / 0.7876 GB, free: 104 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.2556, allocations: 89.89 kB / 0.7877 GB, free: 8 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.2557, allocations: 3.984 kB / 0.7877 GB, free: 4 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.357e-05/0.6394, allocations: 5.297 kB / 0.7877 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.6395, allocations: 1.938 kB / 0.7877 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002169/0.6397, allocations: 45.81 kB / 0.7877 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005472/0.6402, allocations: 319 kB / 0.788 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.6404, allocations: 67.8 kB / 0.7881 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.374e-05/0.6405, allocations: 38.28 kB / 0.7881 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.6406, allocations: 9.078 kB / 0.7882 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002511/0.6408, allocations: 93.33 kB / 0.7882 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 2.394e-06/0.6408, allocations: 3.828 kB / 0.7882 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0004508/0.6413, allocations: 184.3 kB / 0.7884 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.6413, allocations: 56.36 kB / 0.7885 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.761e-05/0.6414, allocations: 135.4 kB / 0.7886 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.6414, allocations: 25.7 kB / 0.7886 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.516e-05/0.6415, allocations: 93.89 kB / 0.7887 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.6415, allocations: 23.08 kB / 0.7887 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.4e-05/0.6415, allocations: 34.45 kB / 0.7888 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.112e-05/0.6416, allocations: 327.7 kB / 0.7891 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.867e-05/0.6417, allocations: 27.66 kB / 0.7891 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.262e-05/0.6418, allocations: 71 kB / 0.7892 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.6419, allocations: 111.3 kB / 0.7893 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.6419, allocations: 1.344 kB / 0.7893 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002071/0.6421, allocations: 137.8 kB / 0.7894 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.6422, allocations: 8.188 kB / 0.7894 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.6422, allocations: 0.6562 kB / 0.7894 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.6422, allocations: 2.656 kB / 0.7894 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.043e-05/0.6423, allocations: 16.91 kB / 0.7894 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.6423, allocations: 4.781 kB / 0.7895 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.033e-05/0.6424, allocations: 16.47 kB / 0.7895 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.6424, allocations: 9.406 kB / 0.7895 GB, free: 47.81 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.726e-05/0.6425, allocations: 125.9 kB / 0.7896 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/0.6425, allocations: 8.312 kB / 0.7896 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.646e-05/0.6425, allocations: 12.89 kB / 0.7896 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.6425, allocations: 6.75 kB / 0.7896 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/0.6425, allocations: 2.75 kB / 0.7896 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.6425, allocations: 0 / 0.7896 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004222/0.643, allocations: 431.9 kB / 0.79 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.643, allocations: 1.969 kB / 0.79 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.808e-05/0.643, allocations: 8.219 kB / 0.79 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.643, allocations: 0.625 kB / 0.79 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.6431, allocations: 6.219 kB / 0.7901 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.6431, allocations: 1.312 kB / 0.7901 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6431, allocations: 7.172 kB / 0.7901 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.6433, allocations: 251.8 kB / 0.7903 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.044e-05/0.6434, allocations: 83.2 kB / 0.7904 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.219e-05/0.6434, allocations: 2.625 kB / 0.7904 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.6435, allocations: 6.375 kB / 0.7904 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.6436, allocations: 17.17 kB / 0.7904 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.6436, allocations: 5.25 kB / 0.7904 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.908e-05/0.6436, allocations: 100.2 kB / 0.7905 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.6436, allocations: 0.75 kB / 0.7905 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003176/0.644, allocations: 42.48 kB / 0.7905 GB, free: 47.07 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.0003585/0.6443, allocations: 156.1 kB / 0.7907 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002514/0.6446, allocations: 94.84 kB / 0.7908 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.6446, allocations: 3.344 kB / 0.7908 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.6447, allocations: 50.42 kB / 0.7908 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.645, allocations: 16.19 kB / 0.7909 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003756/0.6454, allocations: 191.9 kB / 0.791 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.6455, allocations: 0.6922 MB / 0.7917 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.48e-05/0.6455, allocations: 8.906 kB / 0.7917 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.586e-05/0.6456, allocations: 13.5 kB / 0.7917 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.6456, allocations: 0 / 0.7917 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of Templates: time 0.00398/0.6496, allocations: 1.689 MB / 0.7934 GB, free: 46.1 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1)