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.001026/0.001026, allocations: 105.3 kB / 16.36 MB, free: 6.363 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.0009593/0.0009593, allocations: 187.1 kB / 17.3 MB, free: 5.898 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.284/1.284, 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.758/1.758, allocations: 292.3 MB / 0.5496 GB, free: 17.47 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.001473/0.001473, allocations: 72.41 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1944, allocations: 114.6 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002828/0.1973, allocations: 1.5 MB / 0.7863 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001314/0.1986, allocations: 0.7876 MB / 0.787 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.447e-05/0.1987, allocations: 0 / 0.787 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.7e-05/0.1988, allocations: 11.86 kB / 0.787 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.192e-05/0.1988, allocations: 19.86 kB / 0.7871 GB, free: 0.8555 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.0006215/0.1995, allocations: 130.6 kB / 0.7872 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000128/0.1996, allocations: 91.7 kB / 0.7873 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.109e-05/0.1997, allocations: 11.98 kB / 0.7873 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.1998, allocations: 39.91 kB / 0.7873 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.284e-05/0.1999, allocations: 43.83 kB / 0.7874 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.1999, allocations: 15.98 kB / 0.7874 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001947/0.2001, allocations: 95.86 kB / 0.7875 GB, free: 448 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.056e-05/0.2002, allocations: 19.91 kB / 0.7875 GB, free: 428 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.307e-05/0.2002, allocations: 39.86 kB / 0.7875 GB, free: 388 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.2005, allocations: 151.5 kB / 0.7877 GB, free: 236 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.2005, allocations: 4 kB / 0.7877 GB, free: 232 kB / 0.6544 GB Notification: Performance of FrontEnd: time 2.605e-06/0.2005, allocations: 3.984 kB / 0.7877 GB, free: 228 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2005, allocations: 0 / 0.7877 GB, free: 228 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.3213/0.5218, allocations: 457.7 kB / 0.7881 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.5218, allocations: 8.781 kB / 0.7881 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.487e-05/0.5219, allocations: 10.84 kB / 0.7881 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.932e-05/0.522, allocations: 178 kB / 0.7883 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/0.522, allocations: 7.672 kB / 0.7883 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.522, allocations: 12.44 kB / 0.7883 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.5223, allocations: 86.56 kB / 0.7884 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.5223, allocations: 0 / 0.7884 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.5223, allocations: 8.844 kB / 0.7884 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.5223, allocations: 0 / 0.7884 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.5225, allocations: 51.5 kB / 0.7885 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004659/0.523, allocations: 313.8 kB / 0.7888 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.5231, allocations: 69.66 kB / 0.7888 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.609e-05/0.5232, allocations: 42.12 kB / 0.7889 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.5233, allocations: 5.719 kB / 0.7889 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000175/0.5234, allocations: 100.9 kB / 0.789 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.5234, allocations: 3.719 kB / 0.789 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0004363/0.5239, allocations: 181.8 kB / 0.7891 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.076e-05/0.5239, allocations: 56.45 kB / 0.7892 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.075e-05/0.524, allocations: 130.9 kB / 0.7893 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.524, allocations: 26.77 kB / 0.7893 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.129e-05/0.5241, allocations: 94.11 kB / 0.7894 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.5241, allocations: 25.67 kB / 0.7895 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.135e-05/0.5241, allocations: 32.58 kB / 0.7895 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.287e-05/0.5242, allocations: 322.1 kB / 0.7898 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.351e-05/0.5243, allocations: 34.58 kB / 0.7898 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.035e-05/0.5243, allocations: 72.33 kB / 0.7899 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.5245, allocations: 111.4 kB / 0.79 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.5245, allocations: 4.906 kB / 0.79 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00022/0.5247, allocations: 135.4 kB / 0.7901 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.5248, allocations: 5.719 kB / 0.7901 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.5248, allocations: 2.438 kB / 0.7901 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.5248, allocations: 5.5 kB / 0.7902 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.845e-05/0.5249, allocations: 18 kB / 0.7902 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.5249, allocations: 2.875 kB / 0.7902 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.152e-05/0.525, allocations: 8.5 kB / 0.7902 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.525, allocations: 7.312 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 6.525e-05/0.5251, allocations: 124.3 kB / 0.7903 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/0.5251, allocations: 10.5 kB / 0.7903 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.505e-05/0.5251, allocations: 20.56 kB / 0.7903 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.5251, allocations: 0 / 0.7903 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.5251, allocations: 0 / 0.7903 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.825e-05/0.5251, allocations: 88.36 kB / 0.7904 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.5252, allocations: 2.938 kB / 0.7904 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.819e-05/0.5252, allocations: 11.75 kB / 0.7904 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.5253, allocations: 9.094 kB / 0.7904 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002988/0.5256, allocations: 222.3 kB / 0.7907 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002885/0.5259, allocations: 331.9 kB / 0.791 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.74e-05/0.526, allocations: 44.67 kB / 0.791 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.362e-05/0.526, allocations: 96.61 kB / 0.7911 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of Backend: time 4.41e-07/0.526, allocations: 2.188 kB / 0.7911 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006252/0.5267, allocations: 190.3 kB / 0.7913 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of SimCode: time 0.000345/0.527, allocations: 0.6221 MB / 0.7919 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of Templates: time 0.003782/0.5308, allocations: 1.624 MB / 0.7935 GB, free: 46.14 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)