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.001179/0.00118, allocations: 102.9 kB / 16.27 MB, free: 5.996 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.001102/0.001102, allocations: 182.3 kB / 17.19 MB, free: 5.609 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.346/1.346, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.811/1.811, allocations: 292.3 MB / 0.5495 GB, free: 17.52 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.001533/0.001533, allocations: 63.91 kB / 0.6722 GB, free: 6.547 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3263, allocations: 114.6 MB / 0.784 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.003644/0.33, allocations: 1.492 MB / 0.7855 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001591/0.3316, allocations: 0.7877 MB / 0.7863 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.504e-05/0.3317, allocations: 0 / 0.7863 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.836e-05/0.3318, allocations: 7.875 kB / 0.7863 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.487e-05/0.3319, allocations: 15.86 kB / 0.7863 GB, free: 1.543 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.0006729/0.3325, allocations: 139.5 kB / 0.7864 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.3327, allocations: 91.7 kB / 0.7865 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.3328, allocations: 15.97 kB / 0.7865 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.3329, allocations: 43.92 kB / 0.7866 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.651e-05/0.333, allocations: 43.81 kB / 0.7866 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.3331, allocations: 8 kB / 0.7866 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002/0.3333, allocations: 95.84 kB / 0.7867 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.629e-05/0.3333, allocations: 23.92 kB / 0.7867 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.305e-05/0.3334, allocations: 39.8 kB / 0.7868 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002783/0.3337, allocations: 155.9 kB / 0.7869 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3337, allocations: 0 / 0.7869 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3337, allocations: 0 / 0.7869 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.3337, allocations: 0 / 0.7869 GB, free: 0.8984 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.0008178/0.3345, allocations: 462.5 kB / 0.7873 GB, free: 396 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.3346, allocations: 8.031 kB / 0.7874 GB, free: 388 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.307e-05/0.3346, allocations: 12.84 kB / 0.7874 GB, free: 376 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.3348, allocations: 180.2 kB / 0.7875 GB, free: 156 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.075e-05/0.3348, allocations: 4.375 kB / 0.7875 GB, free: 152 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/0.3349, allocations: 8.375 kB / 0.7876 GB, free: 144 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002528/0.3351, allocations: 89.94 kB / 0.7876 GB, free: 48 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.3351, allocations: 0 / 0.7876 GB, free: 48 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.3352, allocations: 0 / 0.7876 GB, free: 48 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.3352, allocations: 0 / 0.7876 GB, free: 48 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4902/0.8254, allocations: 47.95 kB / 0.7877 GB, free: 49.45 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006867/0.8261, allocations: 323.5 kB / 0.788 GB, free: 49.18 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.8263, allocations: 64.72 kB / 0.7881 GB, free: 49.16 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.333e-05/0.8264, allocations: 52.2 kB / 0.7881 GB, free: 49.15 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.8265, allocations: 3.062 kB / 0.7881 GB, free: 49.15 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001952/0.8267, allocations: 91.36 kB / 0.7882 GB, free: 49.11 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 2.625e-06/0.8267, allocations: 0 / 0.7882 GB, free: 49.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0004642/0.8271, allocations: 188.9 kB / 0.7884 GB, free: 49.07 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.8272, allocations: 59.91 kB / 0.7884 GB, free: 49.01 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.47e-05/0.8273, allocations: 128.9 kB / 0.7886 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.8273, allocations: 30.73 kB / 0.7886 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.257e-05/0.8273, allocations: 92.47 kB / 0.7887 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.8274, allocations: 25.56 kB / 0.7887 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.993e-05/0.8274, allocations: 29.39 kB / 0.7887 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.916e-05/0.8275, allocations: 323.4 kB / 0.789 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.238e-05/0.8276, allocations: 27.62 kB / 0.7891 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.555e-05/0.8277, allocations: 76.28 kB / 0.7891 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.8278, allocations: 109.2 kB / 0.7892 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.8278, allocations: 3.406 kB / 0.7892 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000221/0.8281, allocations: 133.6 kB / 0.7894 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.8281, allocations: 8.781 kB / 0.7894 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.8281, allocations: 3.375 kB / 0.7894 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.8281, allocations: 6.703 kB / 0.7894 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.142e-05/0.8282, allocations: 15.16 kB / 0.7894 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.8282, allocations: 6.656 kB / 0.7894 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.198e-05/0.8283, allocations: 10.88 kB / 0.7894 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.8283, allocations: 9.062 kB / 0.7894 GB, free: 48.32 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.578e-05/0.8284, allocations: 128 kB / 0.7895 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.981e-05/0.8284, allocations: 9.156 kB / 0.7896 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.728e-05/0.8285, allocations: 9.062 kB / 0.7896 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.8285, allocations: 2.625 kB / 0.7896 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.8285, allocations: 0 / 0.7896 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.8285, allocations: 4.969 kB / 0.7896 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004276/0.8289, allocations: 436.1 kB / 0.79 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.8289, allocations: 0 / 0.79 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.761e-05/0.829, allocations: 6.109 kB / 0.79 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.829, allocations: 2.625 kB / 0.79 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.829, allocations: 3.891 kB / 0.79 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.829, allocations: 5.688 kB / 0.79 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.829, allocations: 0 / 0.79 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002918/0.8293, allocations: 250.5 kB / 0.7902 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.335e-05/0.8294, allocations: 86.25 kB / 0.7903 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.8294, allocations: 10.59 kB / 0.7903 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.636e-05/0.8295, allocations: 7.297 kB / 0.7903 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.501e-05/0.8296, allocations: 8.656 kB / 0.7903 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.8296, allocations: 6.234 kB / 0.7904 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.733e-05/0.8296, allocations: 100.2 kB / 0.7905 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8296, allocations: 0 / 0.7905 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003174/0.8299, allocations: 47.17 kB / 0.7905 GB, free: 47.59 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.0003567/0.8303, allocations: 164.9 kB / 0.7907 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002646/0.8306, allocations: 95.97 kB / 0.7907 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.8306, allocations: 2.625 kB / 0.7907 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.8307, allocations: 51.38 kB / 0.7908 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.831, allocations: 17.03 kB / 0.7908 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000395/0.8314, allocations: 222.2 kB / 0.791 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.8315, allocations: 0.6917 MB / 0.7917 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.638e-05/0.8316, allocations: 12.88 kB / 0.7917 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of SimCode: time 2.7e-07/0.8316, allocations: 0 / 0.7917 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of Templates: time 0.003419/0.835, allocations: 1.775 MB / 0.7934 GB, free: 46.54 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 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1)