Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",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.001161/0.001161, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001161/0.001161, allocations: 194.2 kB / 16.25 MB, free: 6.633 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.137/1.137, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.517/1.517, allocations: 292.3 MB / 0.5486 GB, free: 13.64 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.001319/0.001319, allocations: 64.17 kB / 0.6711 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1974, allocations: 114.6 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002409/0.1999, allocations: 1.562 MB / 0.7845 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.2009, allocations: 0.7644 MB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.879e-05/0.201, allocations: 0 / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.809e-05/0.201, allocations: 3.984 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.639e-05/0.2011, allocations: 11.86 kB / 0.7853 GB, free: 11.45 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.0004304/0.2015, allocations: 111.8 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.086e-05/0.2016, allocations: 71.83 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.044e-05/0.2017, allocations: 12 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.275e-05/0.2017, allocations: 39.84 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.471e-05/0.2018, allocations: 35.89 kB / 0.7855 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.2018, allocations: 7.938 kB / 0.7855 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001587/0.202, allocations: 99.84 kB / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.994e-05/0.202, allocations: 15.92 kB / 0.7856 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.185e-05/0.2021, allocations: 35.84 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.2022, allocations: 139.9 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2023, allocations: 4 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.72e-07/0.2023, allocations: 0 / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.2023, allocations: 4 kB / 0.7858 GB, free: 10.88 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.000525/0.2028, allocations: 413 kB / 0.7862 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.2028, allocations: 8.031 kB / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.668e-05/0.2029, allocations: 34.75 kB / 0.7862 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.055e-05/0.2029, allocations: 8.844 kB / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.203, allocations: 192.1 kB / 0.7864 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.203, allocations: 384 / 0.7864 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.2031, allocations: 4.375 kB / 0.7864 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.2032, allocations: 77.78 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.2033, allocations: 0 / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.2033, allocations: 0 / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.146e-06/0.2033, allocations: 0 / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.2034, allocations: 35.97 kB / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000545/0.204, allocations: 324.6 kB / 0.7869 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.2041, allocations: 46.56 kB / 0.7869 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.794e-05/0.2042, allocations: 36.95 kB / 0.7869 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.2042, allocations: 0 / 0.7869 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001788/0.2044, allocations: 71.38 kB / 0.787 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.2044, allocations: 7.938 kB / 0.787 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003465/0.2047, allocations: 133.6 kB / 0.7871 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.2048, allocations: 55.48 kB / 0.7872 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.728e-05/0.2049, allocations: 125.7 kB / 0.7873 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.2049, allocations: 33.7 kB / 0.7873 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.388e-05/0.205, allocations: 92.06 kB / 0.7874 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-05/0.205, allocations: 15.81 kB / 0.7874 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.962e-05/0.205, allocations: 33.7 kB / 0.7875 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.591e-05/0.2051, allocations: 322.8 kB / 0.7878 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.531e-05/0.2052, allocations: 23.98 kB / 0.7878 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.998e-05/0.2053, allocations: 55.41 kB / 0.7879 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.2055, allocations: 83.3 kB / 0.7879 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2055, allocations: 0 / 0.7879 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002213/0.2057, allocations: 121.4 kB / 0.7881 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.2057, allocations: 4 kB / 0.7881 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.2057, allocations: 0 / 0.7881 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.2058, allocations: 4 kB / 0.7881 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.751e-05/0.2058, allocations: 15.92 kB / 0.7881 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.2059, allocations: 4.125 kB / 0.7881 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.555e-05/0.2059, allocations: 12 kB / 0.7881 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.206, allocations: 4 kB / 0.7881 GB, free: 8.266 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,win.p,$PRE.win.p,win.on,$PRE.win.on,win.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 9.132e-05/0.2061, allocations: 126.5 kB / 0.7882 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.577e-05/0.2061, allocations: 11.89 kB / 0.7882 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.37e-05/0.2061, allocations: 12.38 kB / 0.7882 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.2061, allocations: 0 / 0.7882 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.2061, allocations: 0 / 0.7882 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.2061, allocations: 4 kB / 0.7882 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003951/0.2065, allocations: 378.7 kB / 0.7886 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2065, allocations: 0 / 0.7886 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.82e-05/0.2066, allocations: 4 kB / 0.7886 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2066, allocations: 0 / 0.7886 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.2066, allocations: 11.98 kB / 0.7886 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.2066, allocations: 3.938 kB / 0.7886 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2066, allocations: 48 / 0.7886 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.2069, allocations: 211.5 kB / 0.7888 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.14e-05/0.2069, allocations: 89 kB / 0.7889 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.2069, allocations: 0 / 0.7889 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.908e-05/0.207, allocations: 11.94 kB / 0.7889 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.129e-05/0.2071, allocations: 7.984 kB / 0.7889 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.2071, allocations: 0 / 0.7889 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.553e-05/0.2071, allocations: 95.27 kB / 0.789 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.373e-06/0.2071, allocations: 0 / 0.789 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002663/0.2074, allocations: 43.94 kB / 0.7891 GB, free: 7.176 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 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.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.0006787/0.2081, allocations: 0.7969 MB / 0.7898 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002134/0.2083, allocations: 79.88 kB / 0.7899 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.2083, allocations: 0 / 0.7899 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.959e-05/0.2084, allocations: 35.92 kB / 0.79 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.2087, allocations: 11.94 kB / 0.79 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.2101, allocations: 1.508 MB / 0.7914 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.2104, allocations: 0.6923 MB / 0.7921 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.538e-05/0.2104, allocations: 4 kB / 0.7921 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.191e-05/0.2104, allocations: 23.42 kB / 0.7921 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.2105, allocations: 0 / 0.7921 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6121/0.8225, allocations: 2.479 MB / 0.7946 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002422/0.8228, allocations: 259.9 kB / 0.7948 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.998/2.821, allocations: 0 / 0.7948 GB, free: 1.301 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1)