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.0009784/0.0009785, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.007227/0.007227, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.343/1.343, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.767/1.767, allocations: 292.7 MB / 0.5502 GB, free: 14.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.0004907/0.0004908, allocations: 13.38 kB / 0.6744 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2176, allocations: 116.3 MB / 0.788 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.001701/0.2194, allocations: 1.243 MB / 0.7892 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.2207, allocations: 0.7762 MB / 0.79 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.18e-05/0.2208, allocations: 4 kB / 0.79 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.268e-05/0.2208, allocations: 7.922 kB / 0.79 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.626e-05/0.2209, allocations: 11.88 kB / 0.79 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005101/0.2214, allocations: 115.8 kB / 0.7901 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.2216, allocations: 95.73 kB / 0.7902 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.328e-05/0.2217, allocations: 16.22 kB / 0.7902 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.351e-05/0.2218, allocations: 43.89 kB / 0.7902 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.547e-05/0.2219, allocations: 47.83 kB / 0.7903 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.2219, allocations: 4 kB / 0.7903 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001748/0.2221, allocations: 91.84 kB / 0.7904 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.004e-05/0.2221, allocations: 19.95 kB / 0.7904 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.066e-05/0.2222, allocations: 65.48 kB / 0.7905 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.2224, allocations: 155.5 kB / 0.7906 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2224, allocations: 0 / 0.7906 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2225, allocations: 0 / 0.7906 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.2225, allocations: 0 / 0.7906 GB, free: 8.801 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.0006234/0.2231, allocations: 454.6 kB / 0.791 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.2231, allocations: 12.03 kB / 0.7911 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.016e-05/0.2232, allocations: 30.75 kB / 0.7911 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.803e-05/0.2232, allocations: 12.84 kB / 0.7911 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.2234, allocations: 180.2 kB / 0.7913 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.2234, allocations: 4.375 kB / 0.7913 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.2234, allocations: 4.375 kB / 0.7913 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.2237, allocations: 97.75 kB / 0.7914 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.2237, allocations: 0 / 0.7914 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.2237, allocations: 4 kB / 0.7914 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.2237, allocations: 4 kB / 0.7914 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.2239, allocations: 55.89 kB / 0.7914 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007116/0.2246, allocations: 356.6 kB / 0.7918 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.2248, allocations: 58.56 kB / 0.7918 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.2249, allocations: 52.83 kB / 0.7919 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.225, allocations: 4 kB / 0.7919 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002345/0.2252, allocations: 99.36 kB / 0.792 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.2252, allocations: 4 kB / 0.792 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0005634/0.2258, allocations: 193.5 kB / 0.7922 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.2258, allocations: 59.41 kB / 0.7922 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.226, allocations: 125.8 kB / 0.7923 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.226, allocations: 33.7 kB / 0.7924 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.54e-05/0.2261, allocations: 96.22 kB / 0.7925 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.2261, allocations: 15.81 kB / 0.7925 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/0.2261, allocations: 21.7 kB / 0.7925 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.2262, allocations: 330.7 kB / 0.7928 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.82e-05/0.2263, allocations: 31.98 kB / 0.7928 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.2265, allocations: 72.27 kB / 0.7929 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.2266, allocations: 96.22 kB / 0.793 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.2267, allocations: 3.984 kB / 0.793 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002759/0.2269, allocations: 137.3 kB / 0.7931 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.227, allocations: 8 kB / 0.7931 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.227, allocations: 0 / 0.7931 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.227, allocations: 0 / 0.7931 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.2271, allocations: 24.08 kB / 0.7932 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.2271, allocations: 4 kB / 0.7932 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.465e-05/0.2272, allocations: 11.88 kB / 0.7932 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.2272, allocations: 7.984 kB / 0.7932 GB, free: 5.879 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 9.911e-05/0.2273, allocations: 130.4 kB / 0.7933 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.792e-05/0.2274, allocations: 7.906 kB / 0.7933 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.467e-05/0.2274, allocations: 4.375 kB / 0.7933 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2274, allocations: 4 kB / 0.7933 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2274, allocations: 0 / 0.7933 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2274, allocations: 3.984 kB / 0.7933 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000565/0.228, allocations: 434.4 kB / 0.7938 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.228, allocations: 0 / 0.7938 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.013e-05/0.228, allocations: 15.98 kB / 0.7938 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.2281, allocations: 4 kB / 0.7938 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.2281, allocations: 0 / 0.7938 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2281, allocations: 0 / 0.7938 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2281, allocations: 4 kB / 0.7938 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003988/0.2285, allocations: 263.4 kB / 0.794 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.947e-05/0.2285, allocations: 84.95 kB / 0.7941 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.2286, allocations: 4 kB / 0.7941 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.2287, allocations: 7.984 kB / 0.7941 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.024e-05/0.2287, allocations: 11.94 kB / 0.7941 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.2288, allocations: 3.984 kB / 0.7941 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.072e-05/0.2288, allocations: 95.27 kB / 0.7942 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2288, allocations: 3.938 kB / 0.7942 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003038/0.2291, allocations: 44 kB / 0.7943 GB, free: 4.676 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.0009236/0.2301, allocations: 0.8409 MB / 0.7951 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002899/0.2304, allocations: 95.88 kB / 0.7952 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2304, allocations: 192 / 0.7952 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.2305, allocations: 63.89 kB / 0.7952 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.2308, allocations: 19.86 kB / 0.7953 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.2326, allocations: 1.599 MB / 0.7968 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.2329, allocations: 0.6926 MB / 0.7975 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.334e-05/0.233, allocations: 15.77 kB / 0.7975 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.861e-05/0.233, allocations: 23.44 kB / 0.7975 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of SimCode: time 8.92e-07/0.233, allocations: 0 / 0.7975 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0128/0.2458, allocations: 2.665 MB / 0.8001 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/0.2461, allocations: 256.2 kB / 0.8004 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.767/2.013, allocations: 0 / 0.8004 GB, free: 14.42 MB / 0.6231 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)