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.001453/0.001453, allocations: 105.8 kB / 16.29 MB, free: 6.027 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.001483/0.001484, allocations: 183.8 kB / 17.22 MB, free: 5.637 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.478/1.478, allocations: 205.1 MB / 223.1 MB, free: 12.18 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.896/1.896, allocations: 292.3 MB / 0.5495 GB, free: 17.64 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.001566/0.001566, allocations: 72.45 kB / 0.6722 GB, free: 6.586 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2454, allocations: 114.6 MB / 0.7841 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002982/0.2484, allocations: 1.499 MB / 0.7855 GB, free: 2.402 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001407/0.2499, allocations: 0.7876 MB / 0.7863 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.807e-05/0.2499, allocations: 0 / 0.7863 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.098e-05/0.25, allocations: 11.86 kB / 0.7863 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.456e-05/0.2501, allocations: 15.88 kB / 0.7863 GB, free: 1.578 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.0006842/0.2508, allocations: 127.6 kB / 0.7865 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.2509, allocations: 91.69 kB / 0.7865 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.251, allocations: 15.98 kB / 0.7866 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.2511, allocations: 39.92 kB / 0.7866 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.379e-05/0.2512, allocations: 47.81 kB / 0.7866 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.2513, allocations: 8 kB / 0.7866 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002112/0.2515, allocations: 95.84 kB / 0.7867 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.215e-05/0.2515, allocations: 19.92 kB / 0.7868 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.213e-05/0.2516, allocations: 43.8 kB / 0.7868 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000256/0.2519, allocations: 151.9 kB / 0.7869 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.2519, allocations: 4 kB / 0.7869 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.462e-06/0.2519, allocations: 0 / 0.7869 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.2519, allocations: 0 / 0.7869 GB, free: 0.9453 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.0006492/0.2525, allocations: 470.5 kB / 0.7874 GB, free: 436 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.2526, allocations: 12.03 kB / 0.7874 GB, free: 424 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.764e-05/0.2526, allocations: 8.844 kB / 0.7874 GB, free: 416 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.2528, allocations: 168.3 kB / 0.7876 GB, free: 208 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.2528, allocations: 8.359 kB / 0.7876 GB, free: 200 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.2528, allocations: 8.375 kB / 0.7876 GB, free: 192 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.2531, allocations: 81.95 kB / 0.7877 GB, free: 104 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.2531, allocations: 11.88 kB / 0.7877 GB, free: 92 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.2531, allocations: 15.98 kB / 0.7877 GB, free: 76 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2531, allocations: 0 / 0.7877 GB, free: 76 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.2533, allocations: 43.91 kB / 0.7877 GB, free: 32 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4061/0.6594, allocations: 312.3 kB / 0.788 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.6596, allocations: 67.45 kB / 0.7881 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.94e-05/0.6597, allocations: 43.83 kB / 0.7881 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.6598, allocations: 7.953 kB / 0.7882 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002518/0.66, allocations: 97.25 kB / 0.7882 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 2.976e-06/0.66, allocations: 0 / 0.7882 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0004229/0.6605, allocations: 186.1 kB / 0.7884 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.6605, allocations: 58.84 kB / 0.7885 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.316e-05/0.6606, allocations: 129.2 kB / 0.7886 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.6606, allocations: 30.95 kB / 0.7886 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.909e-05/0.6607, allocations: 90.97 kB / 0.7887 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.6607, allocations: 22.81 kB / 0.7887 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.891e-05/0.6607, allocations: 32.7 kB / 0.7888 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.966e-05/0.6608, allocations: 321.7 kB / 0.7891 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.028e-05/0.6609, allocations: 32.94 kB / 0.7891 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.877e-05/0.661, allocations: 71.98 kB / 0.7892 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.6611, allocations: 112.1 kB / 0.7893 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6611, allocations: 1.375 kB / 0.7893 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000206/0.6613, allocations: 141.9 kB / 0.7894 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.6614, allocations: 5.25 kB / 0.7894 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.6614, allocations: 2.625 kB / 0.7894 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.6614, allocations: 2.625 kB / 0.7894 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.226e-05/0.6615, allocations: 19.81 kB / 0.7895 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.6615, allocations: 2.625 kB / 0.7895 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.939e-05/0.6616, allocations: 8.938 kB / 0.7895 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.6616, allocations: 12.64 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 8.082e-05/0.6617, allocations: 120.4 kB / 0.7896 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.818e-05/0.6617, allocations: 11.66 kB / 0.7896 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.758e-05/0.6617, allocations: 11.47 kB / 0.7896 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.6617, allocations: 3.422 kB / 0.7896 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.6618, allocations: 1.344 kB / 0.7896 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.6618, allocations: 2.688 kB / 0.7896 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004082/0.6622, allocations: 437.4 kB / 0.79 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.6622, allocations: 0.625 kB / 0.79 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.742e-05/0.6622, allocations: 11.34 kB / 0.79 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.6622, allocations: 1.344 kB / 0.79 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.6623, allocations: 3.562 kB / 0.7901 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.6623, allocations: 2.844 kB / 0.7901 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.6623, allocations: 0.875 kB / 0.7901 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.6625, allocations: 251.4 kB / 0.7903 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.551e-05/0.6626, allocations: 83.42 kB / 0.7904 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.6626, allocations: 3.5 kB / 0.7904 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.117e-05/0.6627, allocations: 7.438 kB / 0.7904 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.6628, allocations: 9.25 kB / 0.7904 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.6628, allocations: 7.469 kB / 0.7904 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.763e-05/0.6628, allocations: 98.89 kB / 0.7905 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6628, allocations: 1.312 kB / 0.7905 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003092/0.6631, allocations: 43.22 kB / 0.7905 GB, free: 47.08 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.0003304/0.6635, allocations: 164.8 kB / 0.7907 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002437/0.6637, allocations: 102.4 kB / 0.7908 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6637, allocations: 0 / 0.7908 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.6638, allocations: 50.41 kB / 0.7908 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.6641, allocations: 17.62 kB / 0.7909 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004007/0.6645, allocations: 195.8 kB / 0.791 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001512/0.6647, allocations: 0.6909 MB / 0.7917 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.664e-05/0.6647, allocations: 8.719 kB / 0.7917 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.41e-05/0.6648, allocations: 12.59 kB / 0.7917 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of SimCode: time 9.51e-07/0.6648, allocations: 0 / 0.7917 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of Templates: time 0.004117/0.6689, allocations: 1.69 MB / 0.7934 GB, free: 46.1 MB / 0.6544 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)