Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",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.001226/0.001226, 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.001406/0.001406, allocations: 193.6 kB / 16.25 MB, free: 6.621 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.244/1.244, allocations: 205.1 MB / 222.1 MB, free: 4.734 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.498/1.498, 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.00242/0.00242, allocations: 74 kB / 0.6711 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1984, allocations: 114.5 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002584/0.201, allocations: 1.578 MB / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.2022, allocations: 0.7839 MB / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.489e-05/0.2023, allocations: 4 kB / 0.7853 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.295e-05/0.2023, allocations: 3.938 kB / 0.7853 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.434e-05/0.2024, allocations: 7.922 kB / 0.7853 GB, free: 11.39 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.0004841/0.2029, allocations: 119.8 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.203, allocations: 107.7 kB / 0.7855 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.976e-05/0.2031, allocations: 8.281 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.665e-05/0.2032, allocations: 51.89 kB / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.609e-05/0.2033, allocations: 55.8 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.2033, allocations: 12 kB / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.2035, allocations: 95.84 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.752e-05/0.2035, allocations: 23.92 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.755e-05/0.2036, allocations: 39.83 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.2038, allocations: 167.6 kB / 0.7859 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2038, allocations: 4 kB / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2038, allocations: 3.938 kB / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2038, allocations: 4 kB / 0.786 GB, free: 10.71 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006534/0.2045, allocations: 462.5 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.2045, allocations: 8.031 kB / 0.7864 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.379e-05/0.2046, allocations: 34.73 kB / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.2046, allocations: 16.84 kB / 0.7865 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.2047, allocations: 176.2 kB / 0.7866 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.2048, allocations: 8.375 kB / 0.7866 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.2048, allocations: 4.375 kB / 0.7866 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.2051, allocations: 93.75 kB / 0.7867 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.2051, allocations: 0 / 0.7867 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.2051, allocations: 3.984 kB / 0.7867 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.2051, allocations: 0 / 0.7867 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001818/0.2053, allocations: 51.91 kB / 0.7868 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007511/0.2061, allocations: 340.7 kB / 0.7871 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.2062, allocations: 58.55 kB / 0.7872 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.2064, allocations: 48.83 kB / 0.7872 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.2064, allocations: 4 kB / 0.7872 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002462/0.2067, allocations: 95.39 kB / 0.7873 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.2067, allocations: 0 / 0.7873 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0005389/0.2072, allocations: 193.6 kB / 0.7875 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.2073, allocations: 51.41 kB / 0.7875 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.292e-05/0.2074, allocations: 133.7 kB / 0.7877 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.2074, allocations: 25.7 kB / 0.7877 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.763e-05/0.2075, allocations: 96.12 kB / 0.7878 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.2075, allocations: 11.81 kB / 0.7878 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.84e-05/0.2075, allocations: 33.7 kB / 0.7878 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.2077, allocations: 322.8 kB / 0.7881 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.193e-05/0.2078, allocations: 31.92 kB / 0.7882 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.2079, allocations: 68.27 kB / 0.7882 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/0.2081, allocations: 96.2 kB / 0.7883 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.2081, allocations: 3.984 kB / 0.7883 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002475/0.2083, allocations: 125.4 kB / 0.7884 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.2083, allocations: 8 kB / 0.7884 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.2084, allocations: 0 / 0.7884 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.2084, allocations: 7.938 kB / 0.7885 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.2085, allocations: 15.92 kB / 0.7885 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.2085, allocations: 8.094 kB / 0.7885 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.725e-05/0.2086, allocations: 15.84 kB / 0.7885 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.2086, allocations: 7.984 kB / 0.7885 GB, free: 7.828 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 0.0001117/0.2087, allocations: 121.7 kB / 0.7886 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.899e-05/0.2087, allocations: 4 kB / 0.7886 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.65e-05/0.2088, allocations: 12.38 kB / 0.7886 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.2088, allocations: 0 / 0.7886 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.2088, allocations: 0 / 0.7886 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2088, allocations: 8.047 kB / 0.7886 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005493/0.2094, allocations: 430.3 kB / 0.7891 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.2094, allocations: 4 kB / 0.7891 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.739e-05/0.2094, allocations: 7.922 kB / 0.7891 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2094, allocations: 4 kB / 0.7891 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.2094, allocations: 0 / 0.7891 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.2094, allocations: 0 / 0.7891 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2095, allocations: 7.938 kB / 0.7891 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003712/0.2098, allocations: 243.4 kB / 0.7893 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.615e-05/0.2099, allocations: 88.95 kB / 0.7894 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.2099, allocations: 4 kB / 0.7894 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.21, allocations: 7.984 kB / 0.7894 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.2101, allocations: 11.94 kB / 0.7894 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.2101, allocations: 7.984 kB / 0.7894 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.642e-05/0.2102, allocations: 98.39 kB / 0.7895 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2102, allocations: 0 / 0.7895 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003227/0.2105, allocations: 40 kB / 0.7896 GB, free: 6.652 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009512/0.2115, allocations: 0.8506 MB / 0.7904 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003025/0.2118, allocations: 95.83 kB / 0.7905 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.2118, allocations: 4.188 kB / 0.7905 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.2119, allocations: 51.91 kB / 0.7905 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.2122, allocations: 19.44 kB / 0.7905 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.2141, allocations: 1.589 MB / 0.7921 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.2145, allocations: 0.6914 MB / 0.7928 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.514e-05/0.2145, allocations: 7.781 kB / 0.7928 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.806e-05/0.2146, allocations: 27.42 kB / 0.7928 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of SimCode: time 8.11e-07/0.2146, allocations: 0 / 0.7928 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02621/0.2408, allocations: 2.828 MB / 0.7956 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002766/0.2411, allocations: 263 kB / 0.7958 GB, free: 240 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.766/2.007, allocations: 0 / 0.7958 GB, free: 240 kB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1)