Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.347/1.347, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008933/0.0008931, allocations: 180.6 kB / 325.9 MB, free: 2.664 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 205 MB / 0.576 GB, free: 20.94 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006565/0.0006565, allocations: 90.34 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003175/0.0003175, allocations: 8.656 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1848, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.001383/0.1862, allocations: 1.223 MB / 0.8974 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009684/0.1872, allocations: 0.7883 MB / 0.8982 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.825e-05/0.1872, allocations: 0 / 0.8982 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.216e-05/0.1872, allocations: 0 / 0.8982 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.989e-05/0.1873, allocations: 11.88 kB / 0.8982 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.1876, allocations: 107.7 kB / 0.8983 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.189e-05/0.1877, allocations: 67.72 kB / 0.8983 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.747e-05/0.1878, allocations: 7.984 kB / 0.8983 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.51e-05/0.1879, allocations: 35.91 kB / 0.8984 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.551e-05/0.1879, allocations: 27.84 kB / 0.8984 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.1879, allocations: 4 kB / 0.8984 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.1881, allocations: 91.84 kB / 0.8985 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.697e-05/0.1881, allocations: 8 kB / 0.8985 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.185e-05/0.1881, allocations: 31.8 kB / 0.8985 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001562/0.1883, allocations: 131.7 kB / 0.8987 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1883, allocations: 0 / 0.8987 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1883, allocations: 0 / 0.8987 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.1883, allocations: 0 / 0.8987 GB, free: 65.51 MB / 0.6042 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.0003688/0.1887, allocations: 430.8 kB / 0.8991 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.787e-05/0.1887, allocations: 8.031 kB / 0.8991 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.503e-05/0.1888, allocations: 38.73 kB / 0.8991 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.596e-05/0.1888, allocations: 8.844 kB / 0.8991 GB, free: 64.97 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.208e-05/0.1889, allocations: 176.2 kB / 0.8993 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.1889, allocations: 8.375 kB / 0.8993 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.1889, allocations: 4.375 kB / 0.8993 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.1891, allocations: 77.7 kB / 0.8994 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-06/0.1891, allocations: 0 / 0.8994 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.1891, allocations: 7.984 kB / 0.8994 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.1891, allocations: 8 kB / 0.8994 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.1892, allocations: 35.98 kB / 0.8994 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003302/0.1896, allocations: 300.6 kB / 0.8997 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.1897, allocations: 58.5 kB / 0.8998 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.155e-05/0.1898, allocations: 32.97 kB / 0.8998 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.1898, allocations: 3.984 kB / 0.8998 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001464/0.1899, allocations: 87.38 kB / 0.8999 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.19, allocations: 4 kB / 0.8999 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003125/0.1903, allocations: 141.6 kB / 0.9 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.15e-05/0.1903, allocations: 55.41 kB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.811e-05/0.1904, allocations: 125.7 kB / 0.9002 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.1904, allocations: 37.7 kB / 0.9002 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.642e-05/0.1904, allocations: 84.14 kB / 0.9003 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.328e-05/0.1904, allocations: 15.81 kB / 0.9003 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.273e-05/0.1905, allocations: 21.7 kB / 0.9004 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.269e-05/0.1905, allocations: 322.8 kB / 0.9007 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.187e-05/0.1906, allocations: 23.98 kB / 0.9007 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.29e-05/0.1907, allocations: 65.14 kB / 0.9007 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.1908, allocations: 97.06 kB / 0.9008 GB, free: 63 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1908, allocations: 7.938 kB / 0.9008 GB, free: 63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001821/0.191, allocations: 121.5 kB / 0.901 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.191, allocations: 4 kB / 0.901 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.191, allocations: 7.938 kB / 0.901 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.336e-06/0.191, allocations: 0 / 0.901 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.156e-05/0.1911, allocations: 15.98 kB / 0.901 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.319e-06/0.1911, allocations: 0 / 0.901 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.532e-05/0.1912, allocations: 11.94 kB / 0.901 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/0.1912, allocations: 4 kB / 0.901 GB, free: 62.83 MB / 0.6042 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 5.661e-05/0.1913, allocations: 131.8 kB / 0.9011 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.365e-05/0.1913, allocations: 7.906 kB / 0.9011 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.942e-05/0.1913, allocations: 8.359 kB / 0.9011 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.1913, allocations: 0 / 0.9011 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1913, allocations: 4 kB / 0.9011 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1913, allocations: 0 / 0.9011 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000326/0.1917, allocations: 386.8 kB / 0.9015 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1917, allocations: 0 / 0.9015 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.761e-05/0.1917, allocations: 7.938 kB / 0.9015 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.1917, allocations: 0 / 0.9015 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.1917, allocations: 11.92 kB / 0.9015 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1917, allocations: 4.016 kB / 0.9015 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1917, allocations: 3.984 kB / 0.9015 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002108/0.192, allocations: 211.4 kB / 0.9017 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.904e-05/0.192, allocations: 89 kB / 0.9018 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.192, allocations: 0 / 0.9018 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.409e-05/0.1921, allocations: 11.98 kB / 0.9018 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.411e-05/0.1921, allocations: 11.97 kB / 0.9019 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.1922, allocations: 0 / 0.9019 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.923e-05/0.1922, allocations: 99.27 kB / 0.9019 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1922, allocations: 0 / 0.9019 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002596/0.1925, allocations: 43.92 kB / 0.902 GB, free: 61.72 MB / 0.6042 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.0005243/0.193, allocations: 0.8046 MB / 0.9028 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001803/0.1932, allocations: 71.89 kB / 0.9028 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1932, allocations: 4.312 kB / 0.9028 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.645e-05/0.1933, allocations: 43.92 kB / 0.9029 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.1935, allocations: 17.45 kB / 0.9029 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.1946, allocations: 1.52 MB / 0.9044 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.368e-05/0.1947, allocations: 0.6887 MB / 0.9051 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.859e-05/0.1947, allocations: 15.92 kB / 0.9051 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/0.1947, allocations: 15.44 kB / 0.9051 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.1947, allocations: 0 / 0.9051 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5138/0.7086, allocations: 2.327 MB / 0.9074 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002053/0.7088, allocations: 271.5 kB / 0.9076 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.445/3.153, allocations: 0 / 0.9076 GB, free: 55.88 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)