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.001561/0.001561, allocations: 107.3 kB / 16.38 MB, free: 6.457 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.001726/0.001726, allocations: 186.7 kB / 17.31 MB, free: 5.812 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.369/1.369, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.775/1.775, allocations: 292.3 MB / 0.5496 GB, free: 17.45 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.001648/0.001648, allocations: 71.03 kB / 0.6729 GB, free: 5.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1991, allocations: 114.6 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002756/0.2019, allocations: 1.507 MB / 0.7863 GB, free: 1.629 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001341/0.2033, allocations: 0.7877 MB / 0.787 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.018e-05/0.2033, allocations: 0 / 0.787 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.45e-05/0.2034, allocations: 7.938 kB / 0.787 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.487e-05/0.2035, allocations: 19.8 kB / 0.7871 GB, free: 0.8047 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.0005984/0.2041, allocations: 127.6 kB / 0.7872 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.2042, allocations: 95.7 kB / 0.7873 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.39e-05/0.2043, allocations: 11.98 kB / 0.7873 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.2045, allocations: 47.89 kB / 0.7873 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.833e-05/0.2045, allocations: 43.83 kB / 0.7874 GB, free: 496 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.2046, allocations: 8 kB / 0.7874 GB, free: 488 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001893/0.2048, allocations: 95.84 kB / 0.7875 GB, free: 392 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.082e-05/0.2048, allocations: 23.92 kB / 0.7875 GB, free: 368 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.323e-05/0.2049, allocations: 39.78 kB / 0.7875 GB, free: 328 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.2051, allocations: 155.6 kB / 0.7877 GB, free: 172 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2051, allocations: 0 / 0.7877 GB, free: 172 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2051, allocations: 0 / 0.7877 GB, free: 172 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.2051, allocations: 0 / 0.7877 GB, free: 172 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.3172/0.5223, allocations: 463.7 kB / 0.7881 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.5224, allocations: 10.75 kB / 0.7881 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.817e-05/0.5225, allocations: 7.469 kB / 0.7881 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.017e-05/0.5225, allocations: 182.7 kB / 0.7883 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.5226, allocations: 3.797 kB / 0.7883 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.5226, allocations: 8.812 kB / 0.7883 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.5228, allocations: 87.28 kB / 0.7884 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.5228, allocations: 0 / 0.7884 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.5228, allocations: 4.781 kB / 0.7884 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.5228, allocations: 2.625 kB / 0.7884 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.523, allocations: 49.67 kB / 0.7885 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004286/0.5234, allocations: 318.3 kB / 0.7888 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.5236, allocations: 66.53 kB / 0.7888 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.12e-05/0.5237, allocations: 51.88 kB / 0.7889 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.5237, allocations: 0 / 0.7889 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001682/0.5239, allocations: 93.47 kB / 0.789 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.5239, allocations: 1.938 kB / 0.789 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0004398/0.5243, allocations: 180.5 kB / 0.7891 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.098e-05/0.5243, allocations: 57.91 kB / 0.7892 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.365e-05/0.5244, allocations: 132.1 kB / 0.7893 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.5244, allocations: 30.23 kB / 0.7894 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.832e-05/0.5245, allocations: 90.94 kB / 0.7894 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.762e-05/0.5245, allocations: 29.58 kB / 0.7895 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.5245, allocations: 34.34 kB / 0.7895 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.584e-05/0.5246, allocations: 317.5 kB / 0.7898 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.266e-05/0.5247, allocations: 29.64 kB / 0.7898 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.097e-05/0.5247, allocations: 73.88 kB / 0.7899 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.5249, allocations: 108.6 kB / 0.79 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.5249, allocations: 3.938 kB / 0.79 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002167/0.5251, allocations: 138.5 kB / 0.7901 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.5252, allocations: 7.594 kB / 0.7902 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.5252, allocations: 9.281 kB / 0.7902 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.5252, allocations: 2.625 kB / 0.7902 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.48e-05/0.5253, allocations: 17 kB / 0.7902 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.5253, allocations: 3.125 kB / 0.7902 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.36e-05/0.5254, allocations: 11.02 kB / 0.7902 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.5254, allocations: 7.375 kB / 0.7902 GB, free: 47.39 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.48e-05/0.5255, allocations: 132 kB / 0.7903 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.782e-05/0.5255, allocations: 9.156 kB / 0.7903 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.429e-05/0.5255, allocations: 10.59 kB / 0.7903 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.5255, allocations: 0.7656 kB / 0.7903 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5255, allocations: 2.625 kB / 0.7903 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.751e-05/0.5255, allocations: 85.27 kB / 0.7904 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.5256, allocations: 2.625 kB / 0.7904 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.97e-05/0.5256, allocations: 6.984 kB / 0.7904 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.5257, allocations: 10.19 kB / 0.7904 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002986/0.526, allocations: 225.1 kB / 0.7907 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002849/0.5263, allocations: 328.1 kB / 0.791 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001007/0.5264, allocations: 53.89 kB / 0.791 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.322e-05/0.5264, allocations: 94.06 kB / 0.7911 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of Backend: time 3.01e-07/0.5264, allocations: 1.125 kB / 0.7911 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006095/0.5271, allocations: 190.9 kB / 0.7913 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0003035/0.5274, allocations: 0.6192 MB / 0.7919 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of Templates: time 0.003554/0.5309, allocations: 1.617 MB / 0.7935 GB, free: 46.06 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)