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.001367/0.001367, allocations: 118.5 kB / 16.38 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.001264/0.001264, allocations: 190.5 kB / 17.31 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.36/1.36, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.846/1.846, 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.001475/0.001475, allocations: 67.89 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.269, allocations: 114.6 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.00299/0.272, allocations: 1.518 MB / 0.7863 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001619/0.2736, allocations: 0.78 MB / 0.787 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.01e-05/0.2737, allocations: 7.938 kB / 0.787 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.227e-05/0.2738, allocations: 3.938 kB / 0.787 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.066e-05/0.2738, allocations: 15.84 kB / 0.7871 GB, free: 0.8008 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.0006362/0.2745, allocations: 133.9 kB / 0.7872 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.2746, allocations: 91.7 kB / 0.7873 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.2748, allocations: 19.98 kB / 0.7873 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.039e-05/0.2749, allocations: 39.84 kB / 0.7873 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.74e-05/0.275, allocations: 43.83 kB / 0.7874 GB, free: 492 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.275, allocations: 8 kB / 0.7874 GB, free: 484 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001856/0.2752, allocations: 95.91 kB / 0.7875 GB, free: 388 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.252e-05/0.2752, allocations: 23.91 kB / 0.7875 GB, free: 364 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.204e-05/0.2753, allocations: 35.8 kB / 0.7875 GB, free: 328 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.2755, allocations: 159.5 kB / 0.7877 GB, free: 168 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2755, allocations: 4 kB / 0.7877 GB, free: 164 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2755, allocations: 0 / 0.7877 GB, free: 164 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.2756, allocations: 0 / 0.7877 GB, free: 164 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.4187/0.6942, allocations: 456 kB / 0.7881 GB, free: 48.87 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.6943, allocations: 11.25 kB / 0.7881 GB, free: 48.87 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.604e-05/0.6944, allocations: 12.97 kB / 0.7881 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.6945, allocations: 176.1 kB / 0.7883 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.6945, allocations: 7.594 kB / 0.7883 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.6945, allocations: 6.5 kB / 0.7883 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/0.6948, allocations: 89.67 kB / 0.7884 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.6948, allocations: 0 / 0.7884 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.6948, allocations: 7.812 kB / 0.7884 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.6948, allocations: 0 / 0.7884 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.695, allocations: 53.56 kB / 0.7885 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005085/0.6955, allocations: 313.5 kB / 0.7888 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.6957, allocations: 66.67 kB / 0.7888 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.349e-05/0.6958, allocations: 48.94 kB / 0.7889 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.6958, allocations: 0 / 0.7889 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001839/0.696, allocations: 96.16 kB / 0.789 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.696, allocations: 0.5625 kB / 0.789 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.000444/0.6964, allocations: 185 kB / 0.7891 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.6965, allocations: 57.27 kB / 0.7892 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.541e-05/0.6966, allocations: 128 kB / 0.7893 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.6966, allocations: 33.92 kB / 0.7893 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.004e-05/0.6966, allocations: 92.72 kB / 0.7894 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.6967, allocations: 25.02 kB / 0.7895 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.537e-05/0.6967, allocations: 35.2 kB / 0.7895 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.865e-05/0.6968, allocations: 324.1 kB / 0.7898 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.71e-05/0.6969, allocations: 28.75 kB / 0.7898 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.135e-05/0.697, allocations: 72.95 kB / 0.7899 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.6971, allocations: 115.2 kB / 0.79 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.6971, allocations: 0 / 0.79 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002265/0.6974, allocations: 130.9 kB / 0.7901 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.6974, allocations: 7.406 kB / 0.7901 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.6974, allocations: 2.625 kB / 0.7901 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.6974, allocations: 2.625 kB / 0.7901 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.547e-05/0.6975, allocations: 23.53 kB / 0.7902 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.6976, allocations: 3.172 kB / 0.7902 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.454e-05/0.6976, allocations: 15.23 kB / 0.7902 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.6976, allocations: 5.25 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 7.367e-05/0.6977, allocations: 130.5 kB / 0.7903 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.838e-05/0.6978, allocations: 7.031 kB / 0.7903 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.059e-05/0.6978, allocations: 15.59 kB / 0.7903 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.6978, allocations: 0 / 0.7903 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.6978, allocations: 0 / 0.7903 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.6978, allocations: 2.625 kB / 0.7903 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004513/0.6983, allocations: 434.5 kB / 0.7908 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.6983, allocations: 2.25 kB / 0.7908 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-05/0.6983, allocations: 5.234 kB / 0.7908 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.6983, allocations: 4.781 kB / 0.7908 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.6984, allocations: 10.38 kB / 0.7908 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.6984, allocations: 0.5625 kB / 0.7908 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.6984, allocations: 0.7812 kB / 0.7908 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002982/0.6987, allocations: 251.5 kB / 0.791 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.26e-05/0.6987, allocations: 89.62 kB / 0.7911 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.6987, allocations: 4.531 kB / 0.7911 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.629e-05/0.6988, allocations: 7.188 kB / 0.7911 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.6989, allocations: 3.156 kB / 0.7911 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.6989, allocations: 14.8 kB / 0.7911 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.952e-05/0.699, allocations: 96.83 kB / 0.7912 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.699, allocations: 0 / 0.7912 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003472/0.6993, allocations: 46.41 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.000352/0.6997, allocations: 161.1 kB / 0.7914 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002482/0.6999, allocations: 92.7 kB / 0.7915 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.7, allocations: 3.969 kB / 0.7915 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.7001, allocations: 47.98 kB / 0.7916 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.7004, allocations: 18.28 kB / 0.7916 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004357/0.7008, allocations: 233.8 kB / 0.7918 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/0.701, allocations: 0.6934 MB / 0.7925 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.703e-05/0.701, allocations: 10.06 kB / 0.7925 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.701, allocations: 0 / 0.7925 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of Templates: time 0.003461/0.7045, allocations: 1.778 MB / 0.7942 GB, free: 45.7 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 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)