Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001047/0.001047, allocations: 189.2 kB / 16.25 MB, free: 6.617 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.318/1.318, allocations: 205.1 MB / 222.1 MB, free: 4.602 MB / 174.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.63/1.63, allocations: 292.3 MB / 0.5486 GB, free: 13.62 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.001312/0.001312, allocations: 66.38 kB / 0.6711 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1912, allocations: 114.5 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002661/0.1939, allocations: 1.558 MB / 0.7845 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.1951, allocations: 0.7527 MB / 0.7852 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.1e-05/0.1952, allocations: 3.938 kB / 0.7852 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.632e-05/0.1952, allocations: 4 kB / 0.7852 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.566e-05/0.1953, allocations: 11.86 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB [/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.0005366/0.1959, allocations: 102.5 kB / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.196, allocations: 75.72 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.612e-05/0.1961, allocations: 8 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.373e-05/0.1962, allocations: 35.91 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.51e-05/0.1962, allocations: 27.91 kB / 0.7855 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.1963, allocations: 7.938 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001768/0.1964, allocations: 99.89 kB / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.066e-05/0.1965, allocations: 7.938 kB / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.95e-05/0.1965, allocations: 39.84 kB / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.1967, allocations: 131.9 kB / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1968, allocations: 4 kB / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1968, allocations: 7.938 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.1968, allocations: 0 / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005895/0.1974, allocations: 438.7 kB / 0.7862 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.1974, allocations: 15.97 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.808e-05/0.1975, allocations: 34.73 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.809e-05/0.1975, allocations: 12.78 kB / 0.7862 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.1977, allocations: 172.2 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.1977, allocations: 8.375 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.1977, allocations: 4.375 kB / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.1979, allocations: 73.78 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.198, allocations: 0 / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.198, allocations: 3.984 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.198, allocations: 0 / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.1981, allocations: 39.92 kB / 0.7865 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005251/0.1987, allocations: 300.7 kB / 0.7868 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.1988, allocations: 42.56 kB / 0.7869 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.911e-05/0.1989, allocations: 36.95 kB / 0.7869 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.1989, allocations: 4.062 kB / 0.7869 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002432/0.1992, allocations: 91.3 kB / 0.787 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.644e-06/0.1992, allocations: 0 / 0.787 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003706/0.1996, allocations: 125.6 kB / 0.7871 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.1996, allocations: 51.41 kB / 0.7872 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.613e-05/0.1997, allocations: 133.7 kB / 0.7873 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.1997, allocations: 29.7 kB / 0.7873 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.869e-05/0.1998, allocations: 84.14 kB / 0.7874 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.1998, allocations: 23.8 kB / 0.7874 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.444e-05/0.1998, allocations: 29.7 kB / 0.7874 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.909e-05/0.1999, allocations: 322.8 kB / 0.7877 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.736e-05/0.2, allocations: 27.92 kB / 0.7878 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.428e-05/0.2001, allocations: 65.45 kB / 0.7878 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.2003, allocations: 89.06 kB / 0.7879 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2003, allocations: 0 / 0.7879 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002034/0.2005, allocations: 117.4 kB / 0.788 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.2005, allocations: 4 kB / 0.788 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.2005, allocations: 0 / 0.788 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.2005, allocations: 4 kB / 0.788 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.659e-05/0.2006, allocations: 19.92 kB / 0.7881 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.2006, allocations: 4 kB / 0.7881 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.989e-05/0.2007, allocations: 8 kB / 0.7881 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.2007, allocations: 8.156 kB / 0.7881 GB, free: 8.273 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.pDown,$PRE.bli.pDown,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 (11): * Single equations (assignments): 11 * 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.974e-05/0.2008, allocations: 126.4 kB / 0.7882 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.646e-05/0.2008, allocations: 7.906 kB / 0.7882 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.541e-05/0.2009, allocations: 12.41 kB / 0.7882 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.2009, allocations: 4 kB / 0.7882 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.2009, allocations: 0 / 0.7882 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2009, allocations: 0 / 0.7882 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004307/0.2013, allocations: 382.4 kB / 0.7886 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2013, allocations: 3.938 kB / 0.7886 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.035e-05/0.2014, allocations: 7.984 kB / 0.7886 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2014, allocations: 0 / 0.7886 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.2014, allocations: 0 / 0.7886 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.2014, allocations: 3.938 kB / 0.7886 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2014, allocations: 0 / 0.7886 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002865/0.2017, allocations: 219.3 kB / 0.7888 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.792e-05/0.2017, allocations: 81.02 kB / 0.7889 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.2018, allocations: 0 / 0.7889 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.417e-05/0.2019, allocations: 15.92 kB / 0.7889 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/0.2019, allocations: 4 kB / 0.7889 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.2019, allocations: 0 / 0.7889 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.777e-05/0.202, allocations: 99.2 kB / 0.789 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.202, allocations: 0 / 0.789 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003064/0.2023, allocations: 39.98 kB / 0.789 GB, free: 7.188 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0006977/0.203, allocations: 0.7869 MB / 0.7898 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002385/0.2033, allocations: 79.88 kB / 0.7899 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2033, allocations: 3.938 kB / 0.7899 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.516e-05/0.2034, allocations: 35.98 kB / 0.7899 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.2036, allocations: 19.84 kB / 0.7899 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.205, allocations: 1.522 MB / 0.7914 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001993/0.2053, allocations: 0.6885 MB / 0.7921 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.463e-05/0.2053, allocations: 4 kB / 0.7921 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.2053, allocations: 27.42 kB / 0.7921 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2053, allocations: 0 / 0.7921 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1693/0.3746, allocations: 2.465 MB / 0.7945 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001735/0.3748, allocations: 258.8 kB / 0.7948 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.839/2.214, allocations: 7 kB / 0.7948 GB, free: 1.297 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1)